Uređivanje

Dijeli putem


HeaderHandler Delegate

Definition

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

public delegate System::Object ^ HeaderHandler(cli::array <Header ^> ^ headers);
public delegate object HeaderHandler(Header[] headers);
[System.Runtime.InteropServices.ComVisible(true)]
public delegate object HeaderHandler(Header[] headers);
type HeaderHandler = delegate of Header[] -> obj
[<System.Runtime.InteropServices.ComVisible(true)>]
type HeaderHandler = delegate of Header[] -> obj
Public Delegate Function HeaderHandler(headers As Header()) As Object 

Parameters

headers
Header[]

The headers of the event.

Return Value

A Object that conveys information about a remote function call.

Attributes

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 Handling and Raising Events.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to