Share via


DecodingFailedException Constructors

Definition

Overloads

DecodingFailedException()

Initializes a new instance of the DecodingFailedException class.

DecodingFailedException(String)

Initializes a new instance of the DecodingFailedException class by using the provided message.

DecodingFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the DecodingFailedException class from XML by using the provided information and context.

DecodingFailedException(String, Exception)

Initializes a new instance of the DecodingFailedException class by using the provided message and inner exception.

DecodingFailedException()

Initializes a new instance of the DecodingFailedException class.

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

Applies to

DecodingFailedException(String)

Initializes a new instance of the DecodingFailedException class by using the provided message.

public:
 DecodingFailedException(System::String ^ message);
public DecodingFailedException (string message);
new Microsoft.VisualStudio.TestTools.UITest.Extension.DecodingFailedException : string -> Microsoft.VisualStudio.TestTools.UITest.Extension.DecodingFailedException
Public Sub New (message As String)

Parameters

message
String

The error message.

Applies to

DecodingFailedException(SerializationInfo, StreamingContext)

Initializes a new instance of the DecodingFailedException class from XML by using the provided information and context.

protected:
 DecodingFailedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DecodingFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.UITest.Extension.DecodingFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.UITest.Extension.DecodingFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

DecodingFailedException(String, Exception)

Initializes a new instance of the DecodingFailedException class by using the provided message and inner exception.

public:
 DecodingFailedException(System::String ^ message, Exception ^ innerException);
public DecodingFailedException (string message, Exception innerException);
new Microsoft.VisualStudio.TestTools.UITest.Extension.DecodingFailedException : string * Exception -> Microsoft.VisualStudio.TestTools.UITest.Extension.DecodingFailedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message.

innerException
Exception

The exception that caused the current exception.

Applies to