FabricInvalidTestCommandStateException 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
FabricInvalidTestCommandStateException() |
Initializes a new instance of FabricInvalidTestCommandStateException class with error code InvalidTestCommandState. |
FabricInvalidTestCommandStateException(String) |
Initializes a new instance of FabricInvalidTestCommandStateException class with error code InvalidTestCommandState and a specified error message. |
FabricInvalidTestCommandStateException(SerializationInfo, StreamingContext) |
Initializes a new instance of FabricInvalidTestCommandStateException class from a serialized object data, with a specified context. |
FabricInvalidTestCommandStateException(String, Exception) |
Initializes a new instance of FabricInvalidTestCommandStateException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
FabricInvalidTestCommandStateException()
Initializes a new instance of FabricInvalidTestCommandStateException class with error code InvalidTestCommandState.
public FabricInvalidTestCommandStateException ();
Public Sub New ()
Applies to
FabricInvalidTestCommandStateException(String)
Initializes a new instance of FabricInvalidTestCommandStateException class with error code InvalidTestCommandState and a specified error message.
public FabricInvalidTestCommandStateException (string message);
new System.Fabric.FabricInvalidTestCommandStateException : string -> System.Fabric.FabricInvalidTestCommandStateException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
FabricInvalidTestCommandStateException(SerializationInfo, StreamingContext)
Initializes a new instance of FabricInvalidTestCommandStateException class from a serialized object data, with a specified context.
protected FabricInvalidTestCommandStateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Fabric.FabricInvalidTestCommandStateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Fabric.FabricInvalidTestCommandStateException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that contains serialized object data of the exception being thrown.
- context
- StreamingContext
The StreamingContext object that contains contextual information about the source or destination. The context parameter is reserved for future use and can be null.
Applies to
FabricInvalidTestCommandStateException(String, Exception)
Initializes a new instance of FabricInvalidTestCommandStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public FabricInvalidTestCommandStateException (string message, Exception inner);
new System.Fabric.FabricInvalidTestCommandStateException : string * Exception -> System.Fabric.FabricInvalidTestCommandStateException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- inner
- Exception
The exception that is the cause of the current exception or null if no inner exception is specified. The Exception class provides more details about the inner exception.
Applies to
Azure SDK for .NET