Initializes a new instance of ContextMarshalException with a specified message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public ContextMarshalException( string message ); [C++] public: ContextMarshalException( String* message ); [JScript] public function ContextMarshalException( message : String );
ContextMarshalException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property Type | Conditon |
---|---|
InnerException | null |
Message | The message string. |
ContextMarshalException Class | ContextMarshalException Members | System Namespace | ContextMarshalException Constructor Overload List