Rediger

Del via


ServerChannelSinkStack.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:
 virtual 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
override this.StoreAndDispatch : System.Runtime.Remoting.Channels.IServerChannelSink * obj -> unit
[<System.Security.SecurityCritical>]
abstract member StoreAndDispatch : System.Runtime.Remoting.Channels.IServerChannelSink * obj -> unit
override this.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.

Implements

Attributes

Remarks

The StoreAndDispatch method is intended for use only by the .NET Framework remoting infrastructure. You should not call it directly.

The method should be only called by a transport sink to complete an asynchronous dispatch.

Applies to