ErrorReadingStorageException Constructors

Definition

Overloads

Name Description
ErrorReadingStorageException()

Initializes a new instance of the ErrorReadingStorageException class.

ErrorReadingStorageException(String)

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

ErrorReadingStorageException(SerializationInfo, StreamingContext)

Initializes a new instance of the ErrorReadingStorageException class by using the provided information and context.

ErrorReadingStorageException(String, Exception)

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

ErrorReadingStorageException()

Initializes a new instance of the ErrorReadingStorageException class.

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

Applies to

ErrorReadingStorageException(String)

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

public:
 ErrorReadingStorageException(System::String ^ msg);
public ErrorReadingStorageException(string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.ErrorReadingStorageException : string -> Microsoft.VisualStudio.TestTools.Exceptions.ErrorReadingStorageException
Public Sub New (msg As String)

Parameters

msg
String

Message that describes the exception.

Applies to

ErrorReadingStorageException(SerializationInfo, StreamingContext)

Initializes a new instance of the ErrorReadingStorageException class by using the provided information and context.

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

Parameters

info
SerializationInfo

Information about the exception.

context
StreamingContext

The source and the destination of the exception.

Applies to

ErrorReadingStorageException(String, Exception)

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

public:
 ErrorReadingStorageException(System::String ^ msg, Exception ^ inner);
public ErrorReadingStorageException(string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.ErrorReadingStorageException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.ErrorReadingStorageException
Public Sub New (msg As String, inner As Exception)

Parameters

msg
String

Message that describes the exception.

inner
Exception

Exception that caused the current exception.

Applies to