Lire en anglais Modifier

Partager via


IServerChannelSinkStack.StoreAndDispatch(IServerChannelSink, Object) Method

Definition

Stores a message sink and its associated state, and then dispatches a message asynchronously, using the sink just stored and any other stored sinks.

public void StoreAndDispatch (System.Runtime.Remoting.Channels.IServerChannelSink sink, object state);
[System.Security.SecurityCritical]
public void StoreAndDispatch (System.Runtime.Remoting.Channels.IServerChannelSink sink, object state);

Parameters

sink
IServerChannelSink

A server channel sink.

state
Object

The state associated with sink.

Attributes

Remarks

The StoreAndDispatch method is intended for use only by the .NET Framework remoting infrastructure.

Also, the method should only be called by a transport sink to complete an asynchronous dispatch.

Applies to