Muokkaa

Jaa


VsaException Constructors

Definition

Overloads

VsaException()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

VsaException(VsaError)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaException class with the specified error.

VsaException(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaException class with the specified error message.

VsaException(VsaError, String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaException class with the specified error and additional message.

VsaException(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaException class with the specified serialization info and streaming context.

VsaException(String, Exception)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaException class with the specified error message and a reference to the inner exception.

VsaException(VsaError, String, Exception)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the VsaException class with the specified error type, error message, and a reference to the inner exception.

VsaException()

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Applies to

VsaException(VsaError)

Initializes a new instance of the VsaException class with the specified error.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 VsaException(Microsoft::Vsa::VsaError error);
public VsaException (Microsoft.Vsa.VsaError error);
new Microsoft.Vsa.VsaException : Microsoft.Vsa.VsaError -> Microsoft.Vsa.VsaException
Public Sub New (error As VsaError)

Parameters

error
VsaError

The offending error.

Applies to

VsaException(String)

Initializes a new instance of the VsaException class with the specified error message.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 VsaException(System::String ^ message);
public VsaException (string message);
new Microsoft.Vsa.VsaException : string -> Microsoft.Vsa.VsaException
Public Sub New (message As String)

Parameters

message
String

The error message that specifies the reason for the exception.

Applies to

VsaException(VsaError, String)

Initializes a new instance of the VsaException class with the specified error and additional message.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 VsaException(Microsoft::Vsa::VsaError error, System::String ^ message);
public VsaException (Microsoft.Vsa.VsaError error, string message);
new Microsoft.Vsa.VsaException : Microsoft.Vsa.VsaError * string -> Microsoft.Vsa.VsaException
Public Sub New (error As VsaError, message As String)

Parameters

error
VsaError

The offending error.

message
String

Additional message represented as string.

Applies to

VsaException(SerializationInfo, StreamingContext)

Initializes a new instance of the VsaException class with the specified serialization info and streaming context.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 VsaException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public VsaException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Vsa.VsaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Vsa.VsaException
Public Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization info.

context
StreamingContext

The streaming context.

Applies to

VsaException(String, Exception)

Initializes a new instance of the VsaException class with the specified error message and a reference to the inner exception.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

VsaException(VsaError, String, Exception)

Initializes a new instance of the VsaException class with the specified error type, error message, and a reference to the inner exception.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 VsaException(Microsoft::Vsa::VsaError error, System::String ^ message, Exception ^ innerException);
public VsaException (Microsoft.Vsa.VsaError error, string message, Exception innerException);
new Microsoft.Vsa.VsaException : Microsoft.Vsa.VsaError * string * Exception -> Microsoft.Vsa.VsaException
Public Sub New (error As VsaError, message As String, innerException As Exception)

Parameters

error
VsaError

One of the enumeration values that specifies the kind of error.

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to