NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Delegate Constructor (Object, String)

Creates a Delegate to represent the specified target Object and the specified method.

[Visual Basic]
Overloads Protected Sub New( _
   ByVal target As Object, _
   ByVal method As String _
)
[C#]
protected Delegate(
   object target,
   string method
);
[C++]
protected: Delegate(
   Object* target,
   String* method
);
[JScript]
protected function Delegate(
   target : Object,
   method : String
);

Parameters

target
The Object to be represented by the Delegate.
method
The String containing the name of the method to be represented by the Delegate.

Exceptions

Exception Type Condition
ArgumentNullException target is a null reference (in Visual Basic Nothing).

-or-

method is a null reference (Nothing).

Remarks

This constructor is called from the class created by the compiler generated code. (?)

See Also

Delegate Class | Delegate Members | System Namespace | Delegate Constructor Overload List | Object | String