VersionMismatchException 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 ny instans av VersionMismatchException klassen.
Överlagringar
VersionMismatchException()
Initierar en ny instans av VersionMismatchException klassen.
public:
VersionMismatchException();
public VersionMismatchException();
Public Sub New ()
Gäller för
VersionMismatchException(String)
Initierar en ny instans av klassen med hjälp av VersionMismatchException ett meddelande.
public:
VersionMismatchException(System::String ^ message);
public VersionMismatchException(string message);
new System.Activities.VersionMismatchException : string -> System.Activities.VersionMismatchException
Public Sub New (message As String)
Parametrar
- message
- String
Felmeddelandet som förklarar orsaken till undantaget.
Gäller för
VersionMismatchException(WorkflowIdentity, WorkflowIdentity)
Initierar en ny instans av VersionMismatchException klassen med förväntad version och faktisk version.
public:
VersionMismatchException(System::Activities::WorkflowIdentity ^ expectedVersion, System::Activities::WorkflowIdentity ^ actualVersion);
public VersionMismatchException(System.Activities.WorkflowIdentity expectedVersion, System.Activities.WorkflowIdentity actualVersion);
new System.Activities.VersionMismatchException : System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentity -> System.Activities.VersionMismatchException
Public Sub New (expectedVersion As WorkflowIdentity, actualVersion As WorkflowIdentity)
Parametrar
- expectedVersion
- WorkflowIdentity
Den version som förväntas.
- actualVersion
- WorkflowIdentity
Faktisk version från filen.
Gäller för
VersionMismatchException(SerializationInfo, StreamingContext)
Initierar en ny instans av klassen med hjälp av VersionMismatchException information och kontext.
protected:
VersionMismatchException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected VersionMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.VersionMismatchException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.VersionMismatchException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parametrar
- info
- SerializationInfo
SerializationInfo som innehåller serialiserade objektdata om undantaget som genereras.
- context
- StreamingContext
StreamingContext som innehåller sammanhangsinformation om källan eller målet.
Gäller för
VersionMismatchException(String, Exception)
Initierar en ny instans av VersionMismatchException klassen.
public:
VersionMismatchException(System::String ^ message, Exception ^ innerException);
public VersionMismatchException(string message, Exception innerException);
new System.Activities.VersionMismatchException : string * Exception -> System.Activities.VersionMismatchException
Public Sub New (message As String, innerException As Exception)
Parametrar
- message
- String
Felmeddelandet som förklarar orsaken till undantaget.
- innerException
- Exception
Undantaget som är orsaken till det aktuella undantaget.
Gäller för
VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity)
Initierar en ny instans av klassen med hjälp av VersionMismatchException meddelandet, den förväntade versionen och den faktiska versionen.
public:
VersionMismatchException(System::String ^ message, System::Activities::WorkflowIdentity ^ expectedVersion, System::Activities::WorkflowIdentity ^ actualVersion);
public VersionMismatchException(string message, System.Activities.WorkflowIdentity expectedVersion, System.Activities.WorkflowIdentity actualVersion);
new System.Activities.VersionMismatchException : string * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentity -> System.Activities.VersionMismatchException
Public Sub New (message As String, expectedVersion As WorkflowIdentity, actualVersion As WorkflowIdentity)
Parametrar
- message
- String
Felmeddelandet som förklarar orsaken till undantaget.
- expectedVersion
- WorkflowIdentity
Den version som förväntas.
- actualVersion
- WorkflowIdentity
Faktisk version från filen.
Gäller för
VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception)
Initierar en ny instans av VersionMismatchException klassen.
public:
VersionMismatchException(System::String ^ message, System::Activities::WorkflowIdentity ^ expectedVersion, System::Activities::WorkflowIdentity ^ actualVersion, Exception ^ innerException);
public VersionMismatchException(string message, System.Activities.WorkflowIdentity expectedVersion, System.Activities.WorkflowIdentity actualVersion, Exception innerException);
new System.Activities.VersionMismatchException : string * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentity * Exception -> System.Activities.VersionMismatchException
Public Sub New (message As String, expectedVersion As WorkflowIdentity, actualVersion As WorkflowIdentity, innerException As Exception)
Parametrar
- message
- String
Felmeddelandet som förklarar orsaken till undantaget.
- expectedVersion
- WorkflowIdentity
Den version som förväntas.
- actualVersion
- WorkflowIdentity
Faktisk version från filen.
- innerException
- Exception
Undantaget som är orsaken till det aktuella undantaget.