Bewerken

Delen 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, System::Object ^ state);
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);
abstract member StoreAndDispatch : System.Runtime.Remoting.Channels.IServerChannelSink * obj -> unit
[<System.Security.SecurityCritical>]
abstract member StoreAndDispatch : System.Runtime.Remoting.Channels.IServerChannelSink * obj -> unit
Public Sub StoreAndDispatch (sink As IServerChannelSink, state As Object)

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