ReturnMessage Constructor (Exception^, IMethodCallMessage^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ReturnMessage class.

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

public:
[SecurityCriticalAttribute]
ReturnMessage(
	Exception^ e,
	IMethodCallMessage^ mcm
)

Parameters

e
Type: System::Exception^

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

mcm
Type: System.Runtime.Remoting.Messaging::IMethodCallMessage^

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

.NET Framework
Available since 1.1
Return to top
Show: