RemotingServices.GetEnvoyChainForProxy(MarshalByRefObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a chain of envoy sinks that should be used when sending messages to the remote object represented by the specified proxy.
public:
static System::Runtime::Remoting::Messaging::IMessageSink ^ GetEnvoyChainForProxy(MarshalByRefObject ^ obj);
public static System.Runtime.Remoting.Messaging.IMessageSink GetEnvoyChainForProxy (MarshalByRefObject obj);
[System.Security.SecurityCritical]
public static System.Runtime.Remoting.Messaging.IMessageSink GetEnvoyChainForProxy (MarshalByRefObject obj);
static member GetEnvoyChainForProxy : MarshalByRefObject -> System.Runtime.Remoting.Messaging.IMessageSink
[<System.Security.SecurityCritical>]
static member GetEnvoyChainForProxy : MarshalByRefObject -> System.Runtime.Remoting.Messaging.IMessageSink
Public Shared Function GetEnvoyChainForProxy (obj As MarshalByRefObject) As IMessageSink
Parameters
The proxy of the remote object that requested envoy sinks are associated with.
Returns
A chain of envoy sinks associated with the specified proxy.
- Attributes
Exceptions
The immediate caller does not have infrastructure permission.
Remarks
Envoy sinks are sinks sent along with the ObjRef of an object that is used when returning messages to that object. The current method returns the envoy sinks that are used during communication between the proxy of the object and the object itself.
Applies to
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir