This documentation is archived and is not being maintained.

IMessageSink.SyncProcessMessage Method

Synchronously processes the given message.

[Visual Basic]
Function SyncProcessMessage( _
   ByVal msg As IMessage _
) As IMessage
[C#]
IMessage SyncProcessMessage(
   IMessage msg
);
[C++]
IMessage* SyncProcessMessage(
   IMessage* msg
);
[JScript]
function SyncProcessMessage(
   msg : IMessage
) : IMessage;

Parameters

msg
The message to process.

Return Value

A reply message in response to the request.

Exceptions

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

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

IMessageSink Interface | IMessageSink Members | System.Runtime.Remoting.Messaging Namespace

Show: