InvalidDataInStorageException 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
InvalidDataInStorageException() |
Initializes a new instance of the InvalidDataInStorageException class. |
InvalidDataInStorageException(String) |
Initializes a new instance of the InvalidDataInStorageException class by using the provided message. |
InvalidDataInStorageException(SerializationInfo, StreamingContext) |
Initializes a new instance of the InvalidDataInStorageException class by using the provided information and context. |
InvalidDataInStorageException(String, Exception) |
Initializes a new instance of the InvalidDataInStorageException class by using the provided message and inner exception. |
InvalidDataInStorageException()
Initializes a new instance of the InvalidDataInStorageException class.
public:
InvalidDataInStorageException();
public InvalidDataInStorageException ();
Public Sub New ()
Applies to
InvalidDataInStorageException(String)
Initializes a new instance of the InvalidDataInStorageException class by using the provided message.
public:
InvalidDataInStorageException(System::String ^ msg);
public InvalidDataInStorageException (string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.InvalidDataInStorageException : string -> Microsoft.VisualStudio.TestTools.Exceptions.InvalidDataInStorageException
Public Sub New (msg As String)
Parameters
- msg
- String
Message that describes the exception.
Applies to
InvalidDataInStorageException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidDataInStorageException class by using the provided information and context.
protected:
InvalidDataInStorageException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidDataInStorageException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TestTools.Exceptions.InvalidDataInStorageException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TestTools.Exceptions.InvalidDataInStorageException
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
InvalidDataInStorageException(String, Exception)
Initializes a new instance of the InvalidDataInStorageException class by using the provided message and inner exception.
public:
InvalidDataInStorageException(System::String ^ msg, Exception ^ inner);
public InvalidDataInStorageException (string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.InvalidDataInStorageException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.InvalidDataInStorageException
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.