This documentation is archived and is not being maintained.

HeaderHandler Delegate

Represents the method that will handle processing of headers on the stream during deserialization.

[Visual Basic]
Public Delegate Function Sub HeaderHandler( _
   ByVal headers() As Header _
) As Object
public delegate object HeaderHandler(
   Header[] headers
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.

The headers of the event.


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.


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