System.Runtime.Remoting.Contexts.IDynamicMessageSink Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Contexts
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
Summary
Indicates that the implementing message sink will be provided by dynamically registered properties.
C# Syntax:
public interface IDynamicMessageSink
Remarks
Dynamic message sinks are provided with notifications of call-start and call-finish with flags indicating whether the call is currently on the client-side or server-side (this is useful for the context level sinks).
See also:
System.Runtime.Remoting.Contexts Namespace

System.Runtime.Remoting.Contexts.IDynamicMessageSink Member List:

Public Methods
ProcessMessageFinish Indicates that a call is returning.
ProcessMessageStart Indicates that a call is starting.

System.Runtime.Remoting.Contexts.IDynamicMessageSink Member Details

Method: ProcessMessageFinish(
   IMessage replyMsg,
   bool bCliSide,
   bool bAsync
)
Summary
Indicates that a call is returning.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
C# Syntax:
void ProcessMessageFinish(
   IMessage replyMsg,
   bool bCliSide,
   bool bAsync
);
Parameters:

replyMsg

Reply message.

bCliSide

true if the method is invoked on the client side, false if on the server side..

bAsync

true if this is an asynchronic call, false if it is synchronic.

Remarks
The Boolean parameters indicate whether the sink is located on the client side or the server side and whether the call is using IMessageSink.AsyncProcessMessage.

Return to top


Method: ProcessMessageStart(
   IMessage reqMsg,
   bool bCliSide,
   bool bAsync
)
Summary
Indicates that a call is starting.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
C# Syntax:
void ProcessMessageStart(
   IMessage reqMsg,
   bool bCliSide,
   bool bAsync
);
Parameters:

reqMsg

Request Message.

bCliSide

true if the method is invoked on the client side, false if on the server side..

bAsync

true if this is an asynchronic call, false if it is synchronic.

Remarks
The Boolean parameters indicate whether the sink is located on the client side or the server side and whether the call is using IMessageSink.AsyncProcessMessage.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.