InstancePersistenceCommandException 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.
Initializes an instance of the InstancePersistenceCommand class.
Overloads
InstancePersistenceCommandException() |
Initializes an instance of the InstancePersistenceCommand class. |
InstancePersistenceCommandException(String) |
Initializes an instance of the InstancePersistenceCommand class using the error message. |
InstancePersistenceCommandException(XName) |
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command. |
InstancePersistenceCommandException(SerializationInfo, StreamingContext) |
Initializes an instance of the InstancePersistenceCommand class using the serialized data. |
InstancePersistenceCommandException(String, Exception) |
Initializes an instance of the InstancePersistenceCommand class using the error message and the inner exception information. |
InstancePersistenceCommandException(XName, Exception) |
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command and the inner exception information. |
InstancePersistenceCommandException(XName, Guid) |
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed. |
InstancePersistenceCommandException(XName, Guid, Exception) |
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information. |
InstancePersistenceCommandException(XName, String, Exception) |
Initializes an instance of the InstancePersistenceCommandException class using the XName (the combination of namespace and name) of the command, error message that explains the reason for the exception, and the exception that caused the current exception. |
InstancePersistenceCommandException(XName, Guid, String, Exception) |
Initializes an instance of the InstancePersistenceCommandException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception. |
InstancePersistenceCommandException()
Initializes an instance of the InstancePersistenceCommand class.
public:
InstancePersistenceCommandException();
public InstancePersistenceCommandException ();
Public Sub New ()
Applies to
InstancePersistenceCommandException(String)
Initializes an instance of the InstancePersistenceCommand class using the error message.
public:
InstancePersistenceCommandException(System::String ^ message);
public InstancePersistenceCommandException (string message);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : string -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (message As String)
Parameters
- message
- String
The reason for the exception.
Applies to
InstancePersistenceCommandException(XName)
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command.
public:
InstancePersistenceCommandException(System::Xml::Linq::XName ^ commandName);
public InstancePersistenceCommandException (System.Xml.Linq.XName commandName);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Xml.Linq.XName -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (commandName As XName)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
Applies to
InstancePersistenceCommandException(SerializationInfo, StreamingContext)
Initializes an instance of the InstancePersistenceCommand class using the serialized data.
protected:
InstancePersistenceCommandException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstancePersistenceCommandException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The information about the current exception.
- context
- StreamingContext
The contextual information about the source or destination.
- Attributes
Applies to
InstancePersistenceCommandException(String, Exception)
Initializes an instance of the InstancePersistenceCommand class using the error message and the inner exception information.
public:
InstancePersistenceCommandException(System::String ^ message, Exception ^ innerException);
public InstancePersistenceCommandException (string message, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : string * Exception -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The reason for the exception.
- innerException
- Exception
The inner exception that caused the current exception.
Applies to
InstancePersistenceCommandException(XName, Exception)
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command and the inner exception information.
public:
InstancePersistenceCommandException(System::Xml::Linq::XName ^ commandName, Exception ^ innerException);
public InstancePersistenceCommandException (System.Xml.Linq.XName commandName, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Xml.Linq.XName * Exception -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (commandName As XName, innerException As Exception)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- innerException
- Exception
The exception that caused the current exception.
Applies to
InstancePersistenceCommandException(XName, Guid)
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.
public:
InstancePersistenceCommandException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstancePersistenceCommandException (System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (commandName As XName, instanceId As Guid)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- instanceId
- Guid
The ID of the target instance against which the command was executed.
Applies to
InstancePersistenceCommandException(XName, Guid, Exception)
Initializes an instance of the InstancePersistenceCommand class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information.
public:
InstancePersistenceCommandException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Exception ^ innerException);
public InstancePersistenceCommandException (System.Xml.Linq.XName commandName, Guid instanceId, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Xml.Linq.XName * Guid * Exception -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (commandName As XName, instanceId As Guid, innerException As Exception)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- instanceId
- Guid
The ID of the target instance against which the command was executed.
- innerException
- Exception
The exception that caused the current exception.
Applies to
InstancePersistenceCommandException(XName, String, Exception)
Initializes an instance of the InstancePersistenceCommandException class using the XName (the combination of namespace and name) of the command, error message that explains the reason for the exception, and the exception that caused the current exception.
public:
InstancePersistenceCommandException(System::Xml::Linq::XName ^ commandName, System::String ^ message, Exception ^ innerException);
public InstancePersistenceCommandException (System.Xml.Linq.XName commandName, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Xml.Linq.XName * string * Exception -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (commandName As XName, message As String, innerException As Exception)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- message
- String
The reason for the exception.
- innerException
- Exception
The exception that caused the current exception.
Applies to
InstancePersistenceCommandException(XName, Guid, String, Exception)
Initializes an instance of the InstancePersistenceCommandException class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.
public:
InstancePersistenceCommandException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::String ^ message, Exception ^ innerException);
public InstancePersistenceCommandException (System.Xml.Linq.XName commandName, Guid instanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceCommandException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstancePersistenceCommandException
Public Sub New (commandName As XName, instanceId As Guid, message As String, innerException As Exception)
Parameters
- commandName
- XName
The XName (the combination of namespace and name) of the command.
- instanceId
- Guid
The ID of the target instance against which the command was executed.
- message
- String
The reason for the exception.
- innerException
- Exception
The exception that caused the current exception.