HeaderHandler Delegate
Represents the method that will handle processing of headers on the stream during deserialization.
[Visual Basic] <Serializable> Public Delegate Function Sub HeaderHandler( _ ByVal headers() As Header _ ) As Object [C#] [Serializable] public delegate object HeaderHandler( Header[] headers ); [C++] [Serializable] public __gc __delegate Object* HeaderHandler( Header* headers[] );
[JScript] In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters [Visual Basic, C#, C++]
The declaration of your callback method must have the same parameters as the HeaderHandler delegate declaration.
- headers
- The headers of the event.
Remarks
Header objects are used to convey information about a remote function call (for example, transaction ID or a method signature).
When you create a HeaderHandler, you identify the method that will handle the event. For an overview, see Events and Delegates.
Requirements
Namespace: System.Runtime.Remoting.Messaging
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
System.Runtime.Remoting.Messaging Namespace | Events and Delegates