CommunicationObjectAbortedException 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 a new instance of the CommunicationObjectAbortedException class.
Overloads
CommunicationObjectAbortedException() |
Initializes a new instance of the CommunicationObjectAbortedException class. |
CommunicationObjectAbortedException(String) |
Initializes a new instance of the CommunicationObjectAbortedException class with the specified message. |
CommunicationObjectAbortedException(SerializationInfo, StreamingContext) |
Initializes a new instance of the CommunicationObjectAbortedException class used to deserialize data into a CommunicationObjectAbortedException object. |
CommunicationObjectAbortedException(String, Exception) |
Initializes a new instance of the CommunicationObjectAbortedException class using the specified message and inner exception. |
CommunicationObjectAbortedException()
Initializes a new instance of the CommunicationObjectAbortedException class.
public:
CommunicationObjectAbortedException();
public CommunicationObjectAbortedException ();
Public Sub New ()
Applies to
CommunicationObjectAbortedException(String)
Initializes a new instance of the CommunicationObjectAbortedException class with the specified message.
public:
CommunicationObjectAbortedException(System::String ^ message);
public CommunicationObjectAbortedException (string message);
new System.ServiceModel.CommunicationObjectAbortedException : string -> System.ServiceModel.CommunicationObjectAbortedException
Public Sub New (message As String)
Parameters
- message
- String
The message carried in the exception.
Remarks
Creates a new CommunicationObjectAbortedException using the specified message
.
Applies to
CommunicationObjectAbortedException(SerializationInfo, StreamingContext)
Initializes a new instance of the CommunicationObjectAbortedException class used to deserialize data into a CommunicationObjectAbortedException object.
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)
Parameters
- info
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Remarks
This constructor is called during deserialization to restore the exception object transmitted over a stream.
Applies to
CommunicationObjectAbortedException(String, Exception)
Initializes a new instance of the CommunicationObjectAbortedException class using the specified message and inner exception.
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)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.
Remarks
Creates a new CommunicationObjectAbortedException using the specified message
and innerException
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기