ChannelServices.DispatchMessage 메서드

정의

들어오는 원격 호출을 디스패치합니다.

public:
 static System::Runtime::Remoting::Channels::ServerProcessing DispatchMessage(System::Runtime::Remoting::Channels::IServerChannelSinkStack ^ sinkStack, System::Runtime::Remoting::Messaging::IMessage ^ msg, [Runtime::InteropServices::Out] System::Runtime::Remoting::Messaging::IMessage ^ % replyMsg);
public static System.Runtime.Remoting.Channels.ServerProcessing DispatchMessage (System.Runtime.Remoting.Channels.IServerChannelSinkStack sinkStack, System.Runtime.Remoting.Messaging.IMessage msg, out System.Runtime.Remoting.Messaging.IMessage replyMsg);
[System.Security.SecurityCritical]
public static System.Runtime.Remoting.Channels.ServerProcessing DispatchMessage (System.Runtime.Remoting.Channels.IServerChannelSinkStack sinkStack, System.Runtime.Remoting.Messaging.IMessage msg, out System.Runtime.Remoting.Messaging.IMessage replyMsg);
static member DispatchMessage : System.Runtime.Remoting.Channels.IServerChannelSinkStack * System.Runtime.Remoting.Messaging.IMessage * IMessage -> System.Runtime.Remoting.Channels.ServerProcessing
[<System.Security.SecurityCritical>]
static member DispatchMessage : System.Runtime.Remoting.Channels.IServerChannelSinkStack * System.Runtime.Remoting.Messaging.IMessage * IMessage -> System.Runtime.Remoting.Channels.ServerProcessing
Public Shared Function DispatchMessage (sinkStack As IServerChannelSinkStack, msg As IMessage, ByRef replyMsg As IMessage) As ServerProcessing

매개 변수

sinkStack
IServerChannelSinkStack

해당 메시지가 이미 통과한 서버 채널 싱크의 스택입니다.

msg
IMessage

디스패치할 메시지입니다.

replyMsg
IMessage

이 메서드가 반환될 때 msg 매개 변수에 포함된 메시지에 대한 서버의 회신이 들어 있는 IMessage를 포함합니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반환

서버 메시지 처리 상태를 제공하는 ServerProcessing입니다.

특성

예외

msg 매개 변수가 null인 경우

직접 실행 호출자에 인프라 권한이 없는 경우

설명

이 메서드는 채널에서 들어오는 원격 호출을 디스패치하는 데 사용됩니다.

적용 대상