CommunicationObjectFaultedException 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 CommunicationObjectFaultedException class.
Overloads
CommunicationObjectFaultedException() |
Initializes a new instance of the CommunicationObjectFaultedException class. |
CommunicationObjectFaultedException(String) |
Initializes a new instance of the CommunicationObjectFaultedException class using the specified message. |
CommunicationObjectFaultedException(SerializationInfo, StreamingContext) |
Initializes a new instance of the CommunicationObjectFaultedException class when deserializing a stream using the specified SerializationInfo and StreamingContext objects. |
CommunicationObjectFaultedException(String, Exception) |
Initializes a new instance of the CommunicationObjectFaultedException class using the specified message and inner exception. |
CommunicationObjectFaultedException()
Initializes a new instance of the CommunicationObjectFaultedException class.
public:
CommunicationObjectFaultedException();
public CommunicationObjectFaultedException ();
Public Sub New ()
Remarks
Creates a new CommunicationObjectFaultedException.
Applies to
CommunicationObjectFaultedException(String)
Initializes a new instance of the CommunicationObjectFaultedException class using the specified message.
public:
CommunicationObjectFaultedException(System::String ^ message);
public CommunicationObjectFaultedException (string message);
new System.ServiceModel.CommunicationObjectFaultedException : string -> System.ServiceModel.CommunicationObjectFaultedException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the exception.
Remarks
Creates a new CommunicationObjectFaultedException using the specified message
.
Applies to
CommunicationObjectFaultedException(SerializationInfo, StreamingContext)
Initializes a new instance of the CommunicationObjectFaultedException class when deserializing a stream using the specified SerializationInfo and StreamingContext objects.
protected:
CommunicationObjectFaultedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CommunicationObjectFaultedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.CommunicationObjectFaultedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.CommunicationObjectFaultedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialization information used to create the exception object.
- context
- StreamingContext
The context within which the exception object is created.
Remarks
This constructor is called when deserializing a CommunicationObjectFaultedException object from a stream.
Applies to
CommunicationObjectFaultedException(String, Exception)
Initializes a new instance of the CommunicationObjectFaultedException class using the specified message and inner exception.
public:
CommunicationObjectFaultedException(System::String ^ message, Exception ^ innerException);
public CommunicationObjectFaultedException (string message, Exception innerException);
new System.ServiceModel.CommunicationObjectFaultedException : string * Exception -> System.ServiceModel.CommunicationObjectFaultedException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The exception message.
- innerException
- Exception
The inner exception.
Remarks
Creates a new CommunicationObjectFaultedException using the specified message
and innerException
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기