แก้ไข

แชร์ผ่าน


ReturnMessage Constructors

Definition

Initializes a new instance of the ReturnMessage class.

Overloads

ReturnMessage(Exception, IMethodCallMessage)

Initializes a new instance of the ReturnMessage class.

ReturnMessage(Object, Object[], Int32, LogicalCallContext, IMethodCallMessage)

Initializes a new instance of the ReturnMessage class with all the information returning to the caller after the method call.

ReturnMessage(Exception, IMethodCallMessage)

Initializes a new instance of the ReturnMessage class.

public:
 ReturnMessage(Exception ^ e, System::Runtime::Remoting::Messaging::IMethodCallMessage ^ mcm);
public ReturnMessage (Exception e, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
[System.Security.SecurityCritical]
public ReturnMessage (Exception e, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
new System.Runtime.Remoting.Messaging.ReturnMessage : Exception * System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.ReturnMessage
[<System.Security.SecurityCritical>]
new System.Runtime.Remoting.Messaging.ReturnMessage : Exception * System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.ReturnMessage
Public Sub New (e As Exception, mcm As IMethodCallMessage)

Parameters

e
Exception

The exception that was thrown during execution of the remotely called method.

mcm
IMethodCallMessage

An IMethodCallMessage with which to create an instance of the ReturnMessage class.

Attributes

Applies to

ReturnMessage(Object, Object[], Int32, LogicalCallContext, IMethodCallMessage)

Initializes a new instance of the ReturnMessage class with all the information returning to the caller after the method call.

public:
 ReturnMessage(System::Object ^ ret, cli::array <System::Object ^> ^ outArgs, int outArgsCount, System::Runtime::Remoting::Messaging::LogicalCallContext ^ callCtx, System::Runtime::Remoting::Messaging::IMethodCallMessage ^ mcm);
public ReturnMessage (object ret, object[] outArgs, int outArgsCount, System.Runtime.Remoting.Messaging.LogicalCallContext callCtx, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
[System.Security.SecurityCritical]
public ReturnMessage (object ret, object[] outArgs, int outArgsCount, System.Runtime.Remoting.Messaging.LogicalCallContext callCtx, System.Runtime.Remoting.Messaging.IMethodCallMessage mcm);
new System.Runtime.Remoting.Messaging.ReturnMessage : obj * obj[] * int * System.Runtime.Remoting.Messaging.LogicalCallContext * System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.ReturnMessage
[<System.Security.SecurityCritical>]
new System.Runtime.Remoting.Messaging.ReturnMessage : obj * obj[] * int * System.Runtime.Remoting.Messaging.LogicalCallContext * System.Runtime.Remoting.Messaging.IMethodCallMessage -> System.Runtime.Remoting.Messaging.ReturnMessage
Public Sub New (ret As Object, outArgs As Object(), outArgsCount As Integer, callCtx As LogicalCallContext, mcm As IMethodCallMessage)

Parameters

ret
Object

The object returned by the invoked method from which the current ReturnMessage instance originated.

outArgs
Object[]

The objects returned from the invoked method as out parameters.

outArgsCount
Int32

The number of out parameters returned from the invoked method.

callCtx
LogicalCallContext

The LogicalCallContext of the method call.

mcm
IMethodCallMessage

The original method call to the invoked method.

Attributes

Applies to