InvalidMessageContractException Constructor (String^, Exception^)

 

Initializes a new instance of the InvalidMessageContractException class that uses the specified message and inner exception.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
InvalidMessageContractException(
	String^ message,
	Exception^ innerException
)

Parameters

message
Type: System::String^

The exception message.

innerException
Type: System::Exception^

The inner exception.

Creates a new InvalidMessageContractException object from the message and innerException.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: