IServerChannelSinkStack.StoreAndDispatch(IServerChannelSink, Object) Método
Definição
Armazena um coletor de mensagem e seu estado associado e, em seguida, envia uma mensagem de forma assíncrona, usando o coletor recém-armazenado e outros coletores armazenados.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)
Parâmetros
- sink
- IServerChannelSink
Um coletor de canal do servidor.A server channel sink.
- state
- Object
O estado associado com o sink.The state associated with sink.
- Atributos
Comentários
O StoreAndDispatch método destina-se ao uso apenas da infraestrutura de comunicação remota .NET Framework.The StoreAndDispatch method is intended for use only by the .NET Framework remoting infrastructure.
Além disso, o método só deve ser chamado por um coletor de transporte para concluir uma expedição assíncrona.Also, the method should only be called by a transport sink to complete an asynchronous dispatch.