InvalidMessageContractException InvalidMessageContractException InvalidMessageContractException InvalidMessageContractException Constructors

Definition

Overloads

InvalidMessageContractException() InvalidMessageContractException() InvalidMessageContractException()

Initializes a new instance of the InvalidMessageContractException class.

InvalidMessageContractException(String) InvalidMessageContractException(String) InvalidMessageContractException(String) InvalidMessageContractException(String)

Initializes a new instance of the InvalidMessageContractException class using the specified message.

InvalidMessageContractException(SerializationInfo, StreamingContext) InvalidMessageContractException(SerializationInfo, StreamingContext) InvalidMessageContractException(SerializationInfo, StreamingContext) InvalidMessageContractException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidMessageContractException class when deserializing from a stream into an object.

InvalidMessageContractException(String, Exception) InvalidMessageContractException(String, Exception) InvalidMessageContractException(String, Exception) InvalidMessageContractException(String, Exception)

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

InvalidMessageContractException() InvalidMessageContractException() InvalidMessageContractException()

Initializes a new instance of the InvalidMessageContractException class.

public:
 InvalidMessageContractException();
public InvalidMessageContractException ();
Public Sub New ()

Remarks

Creates a new InvalidMessageContractException object.

InvalidMessageContractException(String) InvalidMessageContractException(String) InvalidMessageContractException(String) InvalidMessageContractException(String)

Initializes a new instance of the InvalidMessageContractException class using the specified message.

public:
 InvalidMessageContractException(System::String ^ message);
public InvalidMessageContractException (string message);
new System.ServiceModel.InvalidMessageContractException : string -> System.ServiceModel.InvalidMessageContractException
Public Sub New (message As String)

Parameters

message
String String String String

The message for the exception.

Remarks

Creates a new InvalidMessageContractException object using the message.

InvalidMessageContractException(SerializationInfo, StreamingContext) InvalidMessageContractException(SerializationInfo, StreamingContext) InvalidMessageContractException(SerializationInfo, StreamingContext) InvalidMessageContractException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidMessageContractException class when deserializing from a stream into an object.

protected:
 InvalidMessageContractException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidMessageContractException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.InvalidMessageContractException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.InvalidMessageContractException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

context
StreamingContext StreamingContext StreamingContext StreamingContext

The stream from which to deserialize.

Remarks

Creates a new InvalidMessageContractException object from the stream on deserialization.

InvalidMessageContractException(String, Exception) InvalidMessageContractException(String, Exception) InvalidMessageContractException(String, Exception) InvalidMessageContractException(String, Exception)

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

public:
 InvalidMessageContractException(System::String ^ message, Exception ^ innerException);
public InvalidMessageContractException (string message, Exception innerException);
new System.ServiceModel.InvalidMessageContractException : string * Exception -> System.ServiceModel.InvalidMessageContractException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

The exception message.

innerException
Exception Exception Exception Exception

The inner exception.

Remarks

Creates a new InvalidMessageContractException object from the message and innerException.

Applies to