StorageNotAccessibleException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StorageNotAccessibleException() |
Initializes a new instance of the StorageNotAccessibleException class. |
StorageNotAccessibleException(String) |
Initializes a new instance of the StorageNotAccessibleException class by using the provided message. |
StorageNotAccessibleException(SerializationInfo, StreamingContext) |
Initializes a new instance of the StorageNotAccessibleException class by using the provided information and context. |
StorageNotAccessibleException(String, Exception) |
Initializes a new instance of the StorageNotAccessibleException class by using the provided message and inner exception. |
StorageNotAccessibleException()
Initializes a new instance of the StorageNotAccessibleException class.
public:
StorageNotAccessibleException();
public StorageNotAccessibleException ();
Public Sub New ()
Applies to
StorageNotAccessibleException(String)
Initializes a new instance of the StorageNotAccessibleException class by using the provided message.
public:
StorageNotAccessibleException(System::String ^ msg);
public StorageNotAccessibleException (string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.StorageNotAccessibleException : string -> Microsoft.VisualStudio.TestTools.Exceptions.StorageNotAccessibleException
Public Sub New (msg As String)
Parameters
- msg
- String
Message that describes the exception.
Applies to
StorageNotAccessibleException(SerializationInfo, StreamingContext)
Initializes a new instance of the StorageNotAccessibleException class by using the provided information and context.
protected:
StorageNotAccessibleException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected StorageNotAccessibleException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Exceptions.StorageNotAccessibleException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Exceptions.StorageNotAccessibleException
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
StorageNotAccessibleException(String, Exception)
Initializes a new instance of the StorageNotAccessibleException class by using the provided message and inner exception.
public:
StorageNotAccessibleException(System::String ^ msg, Exception ^ inner);
public StorageNotAccessibleException (string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.StorageNotAccessibleException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.StorageNotAccessibleException
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.