CommunicationObjectAbortedException 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 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()
Initierar en ny instans av CommunicationObjectAbortedException klassen.
public:
CommunicationObjectAbortedException();
public CommunicationObjectAbortedException();
Public Sub New ()
Gäller för
CommunicationObjectAbortedException(String)
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)
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)
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.