OfferAnswerException 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.
Overloads
OfferAnswerException() |
Creates a new instance of the OfferAnswerException class. |
OfferAnswerException(String) |
Creates a new instance of the OfferAnswerException class. |
OfferAnswerException(SerializationInfo, StreamingContext) |
Creates a new instance of the OfferAnswerException class with serialized data. |
OfferAnswerException(String, Exception) |
Creates a new instance of the OfferAnswerException class. |
OfferAnswerException(OfferAnswerFailureReason, String, Exception) |
Creates a new instance of the OfferAnswerException class. |
OfferAnswerException(OfferAnswerFailureReason, String, Exception, IEnumerable<SignalingHeader>, DiagnosticsInformation) |
Creates a new instance of the OfferAnswerException class. |
OfferAnswerException()
Creates a new instance of the OfferAnswerException class.
public:
OfferAnswerException();
public OfferAnswerException ();
Public Sub New ()
Applies to
OfferAnswerException(String)
Creates a new instance of the OfferAnswerException class.
public:
OfferAnswerException(System::String ^ message);
public OfferAnswerException (string message);
new Microsoft.Rtc.Collaboration.OfferAnswerException : string -> Microsoft.Rtc.Collaboration.OfferAnswerException
Public Sub New (message As String)
Parameters
- message
- String
Exception message string.
Applies to
OfferAnswerException(SerializationInfo, StreamingContext)
Creates a new instance of the OfferAnswerException class with serialized data.
protected:
OfferAnswerException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected OfferAnswerException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Collaboration.OfferAnswerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Collaboration.OfferAnswerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The object that holds the serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
OfferAnswerException(String, Exception)
Creates a new instance of the OfferAnswerException class.
public:
OfferAnswerException(System::String ^ message, Exception ^ innerException);
public OfferAnswerException (string message, Exception innerException);
new Microsoft.Rtc.Collaboration.OfferAnswerException : string * Exception -> Microsoft.Rtc.Collaboration.OfferAnswerException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
Exception message string.
- innerException
- Exception
Inner exception for the exception.
Applies to
OfferAnswerException(OfferAnswerFailureReason, String, Exception)
Creates a new instance of the OfferAnswerException class.
public:
OfferAnswerException(Microsoft::Rtc::Collaboration::OfferAnswerFailureReason reason, System::String ^ message, Exception ^ innerException);
public OfferAnswerException (Microsoft.Rtc.Collaboration.OfferAnswerFailureReason reason, string message, Exception innerException);
new Microsoft.Rtc.Collaboration.OfferAnswerException : Microsoft.Rtc.Collaboration.OfferAnswerFailureReason * string * Exception -> Microsoft.Rtc.Collaboration.OfferAnswerException
Public Sub New (reason As OfferAnswerFailureReason, message As String, innerException As Exception)
Parameters
- reason
- OfferAnswerFailureReason
Failure reason.
- message
- String
Exception message string.
- innerException
- Exception
Inner exception for the exception.
Applies to
OfferAnswerException(OfferAnswerFailureReason, String, Exception, IEnumerable<SignalingHeader>, DiagnosticsInformation)
Creates a new instance of the OfferAnswerException class.
public:
OfferAnswerException(Microsoft::Rtc::Collaboration::OfferAnswerFailureReason reason, System::String ^ message, Exception ^ innerException, System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, Microsoft::Rtc::Signaling::DiagnosticsInformation ^ diagnosticsInformation);
public OfferAnswerException (Microsoft.Rtc.Collaboration.OfferAnswerFailureReason reason, string message, Exception innerException, System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, Microsoft.Rtc.Signaling.DiagnosticsInformation diagnosticsInformation);
new Microsoft.Rtc.Collaboration.OfferAnswerException : Microsoft.Rtc.Collaboration.OfferAnswerFailureReason * string * Exception * seq<Microsoft.Rtc.Signaling.SignalingHeader> * Microsoft.Rtc.Signaling.DiagnosticsInformation -> Microsoft.Rtc.Collaboration.OfferAnswerException
Parameters
- reason
- OfferAnswerFailureReason
Failure reason.
- message
- String
Exception message string.
- innerException
- Exception
Inner exception, if any.
- signalingHeaders
- IEnumerable<SignalingHeader>
Signaling headers associated with this exception.
- diagnosticsInformation
- DiagnosticsInformation
Diagnostics information, if any.
Exceptions
Throw when diagnosticsInformation
is specified and the signalingHeaders
parameter contains
diagnostics headers.