共用方式為


IMessageSink.SyncProcessMessage(IMessage) 方法

定義

同步處理指定的訊息。

public:
 System::Runtime::Remoting::Messaging::IMessage ^ SyncProcessMessage(System::Runtime::Remoting::Messaging::IMessage ^ msg);
public System.Runtime.Remoting.Messaging.IMessage SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage msg);
[System.Security.SecurityCritical]
public System.Runtime.Remoting.Messaging.IMessage SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage msg);
abstract member SyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage -> System.Runtime.Remoting.Messaging.IMessage
[<System.Security.SecurityCritical>]
abstract member SyncProcessMessage : System.Runtime.Remoting.Messaging.IMessage -> System.Runtime.Remoting.Messaging.IMessage
Public Function SyncProcessMessage (msg As IMessage) As IMessage

參數

msg
IMessage

要處理的訊息。

傳回

回應要求的回覆訊息。

屬性

例外狀況

立即呼叫者透過對介面的參考進行呼叫,且沒有基礎結構權限。

備註

遠端 SyncProcessMessage 基礎結構或先前接收同步訊息的接收會在訊息接收上叫用 方法。

適用於