CommunicationObjectAbortedException Konstruktorer

Definition

Initierar en ny instans av CommunicationObjectAbortedException klassen.

Överlagringar

Name Description
CommunicationObjectAbortedException()

Initierar en ny instans av CommunicationObjectAbortedException klassen.

CommunicationObjectAbortedException(String)

Initierar en ny instans av CommunicationObjectAbortedException klassen med det angivna meddelandet.

CommunicationObjectAbortedException(SerializationInfo, StreamingContext)

Initierar en ny instans av klassen CommunicationObjectAbortedException som används för att deserialisera data till ett CommunicationObjectAbortedException objekt.

CommunicationObjectAbortedException(String, Exception)

Initierar en ny instans av CommunicationObjectAbortedException klassen med det angivna meddelandet och det inre undantaget.

CommunicationObjectAbortedException()

Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs

Initierar en ny instans av CommunicationObjectAbortedException klassen.

public:
 CommunicationObjectAbortedException();
public CommunicationObjectAbortedException();
Public Sub New ()

Gäller för

CommunicationObjectAbortedException(String)

Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs

Initierar en ny instans av CommunicationObjectAbortedException klassen med det angivna meddelandet.

public:
 CommunicationObjectAbortedException(System::String ^ message);
public CommunicationObjectAbortedException(string message);
new System.ServiceModel.CommunicationObjectAbortedException : string -> System.ServiceModel.CommunicationObjectAbortedException
Public Sub New (message As String)

Parametrar

message
String

Meddelandet som skickades i undantaget.

Kommentarer

Skapar en ny CommunicationObjectAbortedException med den angivna message.

Gäller för

CommunicationObjectAbortedException(SerializationInfo, StreamingContext)

Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs

Initierar en ny instans av klassen CommunicationObjectAbortedException som används för att deserialisera data till ett CommunicationObjectAbortedException objekt.

protected:
 CommunicationObjectAbortedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CommunicationObjectAbortedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.CommunicationObjectAbortedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.CommunicationObjectAbortedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametrar

info
SerializationInfo

Det SerializationInfo som innehåller serialiserade objektdata om undantaget som genereras.

context
StreamingContext

Som StreamingContext innehåller kontextuell information om källan eller målet.

Kommentarer

Den här konstruktorn anropas under deserialiseringen för att återställa undantagsobjektet som överförs via en ström.

Gäller för

CommunicationObjectAbortedException(String, Exception)

Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs
Källa:
CommunicationObjectAbortedException.cs

Initierar en ny instans av CommunicationObjectAbortedException klassen med det angivna meddelandet och det inre undantaget.

public:
 CommunicationObjectAbortedException(System::String ^ message, Exception ^ innerException);
public CommunicationObjectAbortedException(string message, Exception innerException);
new System.ServiceModel.CommunicationObjectAbortedException : string * Exception -> System.ServiceModel.CommunicationObjectAbortedException
Public Sub New (message As String, innerException As Exception)

Parametrar

message
String

Undantagsmeddelandet.

innerException
Exception

Det inre undantaget.

Kommentarer

Skapar en ny CommunicationObjectAbortedException med angiven message och innerException.

Gäller för