InvalidMessageContractException Constructor (String, Exception)
Collapse the table of content
Expand the table of content

InvalidMessageContractException Constructor (String, Exception)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft