Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Params for Subroutines

Maybe I'm just missing something, but I want to know the WHY behind the use
of the two param's that I've seen on all the Subroutines for ASP+ so far,
example:

Sub Page_Load(Source as Object, E as EventArgs)

I assume that this is used somewhere behind the scenes by the runtime or
something, but I haven't been able to track down the where and why yet. Any
clues to the right direction? Am I just missing the section in the SDK that
talks about it??

Thanks,
Aaron Montgomery
[546 byte] By [Aaron Montgomery] at [2007-11-9 16:23:40]
# 1 Re: Params for Subroutines
These are events for all intents and purposes. When the event is raised
they want to give you access to information about the event. That is what
the two args are for. Your own personal subroutines need not include them.

"Aaron Montgomery" <aaron.montgomery@covault.com> wrote in message
news:39944ebb$1@news.dev-archive.com...
> Maybe I'm just missing something, but I want to know the WHY behind the
use
> of the two param's that I've seen on all the Subroutines for ASP+ so far,
> example:
>
> Sub Page_Load(Source as Object, E as EventArgs)
>
> I assume that this is used somewhere behind the scenes by the runtime or
> something, but I haven't been able to track down the where and why yet.
Any
> clues to the right direction? Am I just missing the section in the SDK
that
> talks about it??
>
> Thanks,
> Aaron Montgomery
>
>
Chris Kinsman at 2007-11-11 23:26:30 >
# 2 Re: Params for Subroutines
Launch this: (The 'Your path may be different. bla bla' caveat applies, as usual.)
"C:\Program Files\NGWSSDK\Docs\sdkstart.chm"

Read this:
NGWS SDK Developer Specifications \ Class Library Design Guidelines

What you are seeing is the result of (but not limited to) these 2 documents:
1. Naming Guidelines \ Class and Class members.
2. Class Members \ Event Usage Guidelines.

Keep Smilin'
Ed Stegman

"Chris Kinsman" <ckinsman@dev-archive.com> wrote in message news:399580c6$1@news.dev-archive.com...
> These are events for all intents and purposes. When the event is raised
> they want to give you access to information about the event. That is what
> the two args are for. Your own personal subroutines need not include them.
>
>
>
> "Aaron Montgomery" <aaron.montgomery@covault.com> wrote in message
> news:39944ebb$1@news.dev-archive.com...
> > Maybe I'm just missing something, but I want to know the WHY behind the
> use
> > of the two param's that I've seen on all the Subroutines for ASP+ so far,
> > example:
> >
> > Sub Page_Load(Source as Object, E as EventArgs)
> >
> > I assume that this is used somewhere behind the scenes by the runtime or
> > something, but I haven't been able to track down the where and why yet.
> Any
> > clues to the right direction? Am I just missing the section in the SDK
> that
> > talks about it??
> >
> > Thanks,
> > Aaron Montgomery
> >
> >
>
>
Ed Stegman at 2007-11-11 23:27:36 >