IMessageSink::SyncProcessMessage Method (IMessage^)

 

Synchronously processes the given message.

Namespace:   System.Runtime.Remoting.Messaging
Assembly:  mscorlib (in mscorlib.dll)

[SecurityCriticalAttribute]
IMessage^ SyncProcessMessage(
	IMessage^ msg
)

Parameters

msg
Type: System.Runtime.Remoting.Messaging::IMessage^

The message to process.

Return Value

Type: System.Runtime.Remoting.Messaging::IMessage^

A reply message in response to the request.

Exception Condition
SecurityException

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

The SyncProcessMessage method is invoked on the message sink by the remoting infrastructure or by a previous sink for synchronous messages.

SecurityPermission

for operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: