InstancePersistenceException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en instans av InstancePersistenceException klassen.
Överlagringar
| Name | Description |
|---|---|
| InstancePersistenceException() |
Initierar en instans av InstancePersistenceException klassen. |
| InstancePersistenceException(String) |
Initierar en instans av klassen med hjälp av InstancePersistenceException felmeddelandet. |
| InstancePersistenceException(XName) |
Initierar en instans av InstancePersistenceException klassen med kommandots namn. |
| InstancePersistenceException(SerializationInfo, StreamingContext) |
Initierar en instans av klassen med hjälp av InstancePersistenceException serialiserad information och kontextinformation. |
| InstancePersistenceException(String, Exception) |
Initierar en instans av klassen med hjälp av InstancePersistenceException felmeddelandet och den inre undantagsinformationen. |
| InstancePersistenceException(XName, Exception) |
Initierar en instans av InstancePersistenceException klassen med hjälp av namnet på kommandot och den inre undantagsinformationen. |
| InstancePersistenceException(XName, String) |
Initierar en instans av InstancePersistenceException klassen med hjälp av namnet på kommandot och felmeddelandet. |
| InstancePersistenceException(XName, String, Exception) |
Initierar en instans av InstancePersistenceException klassen med hjälp av namnet på kommandot, felmeddelandet och den inre undantagsinformationen. |
InstancePersistenceException()
Initierar en instans av InstancePersistenceException klassen.
public:
InstancePersistenceException();
public InstancePersistenceException();
Public Sub New ()
Gäller för
InstancePersistenceException(String)
Initierar en instans av klassen med hjälp av InstancePersistenceException felmeddelandet.
public:
InstancePersistenceException(System::String ^ message);
public InstancePersistenceException(string message);
new System.Runtime.DurableInstancing.InstancePersistenceException : string -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (message As String)
Parametrar
- message
- String
Felmeddelande som beskriver det aktuella undantaget.
Gäller för
InstancePersistenceException(XName)
Initierar en instans av InstancePersistenceException klassen med kommandots namn.
public:
InstancePersistenceException(System::Xml::Linq::XName ^ commandName);
public InstancePersistenceException(System.Xml.Linq.XName commandName);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName)
Parametrar
- commandName
- XName
XName (kombinationen av namnområde och namn) för kommandot.
Gäller för
InstancePersistenceException(SerializationInfo, StreamingContext)
Initierar en instans av klassen med hjälp av InstancePersistenceException serialiserad information och kontextinformation.
protected:
InstancePersistenceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstancePersistenceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstancePersistenceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametrar
- info
- SerializationInfo
Information om det aktuella undantaget.
- context
- StreamingContext
Sammanhangsinformation om källan eller målet.
- Attribut
Gäller för
InstancePersistenceException(String, Exception)
Initierar en instans av klassen med hjälp av InstancePersistenceException felmeddelandet och den inre undantagsinformationen.
public:
InstancePersistenceException(System::String ^ message, Exception ^ innerException);
public InstancePersistenceException(string message, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceException : string * Exception -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (message As String, innerException As Exception)
Parametrar
- message
- String
Orsaken till det aktuella undantaget.
- innerException
- Exception
Undantaget som orsakar det aktuella undantaget.
Gäller för
InstancePersistenceException(XName, Exception)
Initierar en instans av InstancePersistenceException klassen med hjälp av namnet på kommandot och den inre undantagsinformationen.
public:
InstancePersistenceException(System::Xml::Linq::XName ^ commandName, Exception ^ innerException);
public InstancePersistenceException(System.Xml.Linq.XName commandName, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * Exception -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, innerException As Exception)
Parametrar
- commandName
- XName
XName (kombinationen av namnområde och namn) för kommandot.
- innerException
- Exception
Undantaget som orsakade det aktuella undantaget.
Gäller för
InstancePersistenceException(XName, String)
Initierar en instans av InstancePersistenceException klassen med hjälp av namnet på kommandot och felmeddelandet.
public:
InstancePersistenceException(System::Xml::Linq::XName ^ commandName, System::String ^ message);
public InstancePersistenceException(System.Xml.Linq.XName commandName, string message);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * string -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, message As String)
Parametrar
- commandName
- XName
XName (kombinationen av namnområde och namn) för kommandot.
- message
- String
Felmeddelandet som beskriver undantaget.
Gäller för
InstancePersistenceException(XName, String, Exception)
Initierar en instans av InstancePersistenceException klassen med hjälp av namnet på kommandot, felmeddelandet och den inre undantagsinformationen.
public:
InstancePersistenceException(System::Xml::Linq::XName ^ commandName, System::String ^ message, Exception ^ innerException);
public InstancePersistenceException(System.Xml.Linq.XName commandName, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * string * Exception -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, message As String, innerException As Exception)
Parametrar
- commandName
- XName
XName (kombinationen av namnområde och namn) för kommandot.
- message
- String
Felmeddelandet som beskriver undantaget.
- innerException
- Exception
Undantaget som orsakade det aktuella undantaget.