Edit

Share via


ProvisioningFailureException Constructors

Definition

Overloads

ProvisioningFailureException()

Initializes a new instance of the class.

ProvisioningFailureException(String)

Initializes a new instance of the class. Defaults the reason to ConfigurationDataInaccessible.

ProvisioningFailureException(SerializationInfo, StreamingContext)

Initializes a new instance of the class from serialized data.

ProvisioningFailureException(String, Exception)

Initializes a new instance of the class. Defaults the reason to ConfigurationDataInaccessible.

ProvisioningFailureException(String, Exception, ProvisioningFailureReason)

Initializes a new instance of the class with a specific reason for the failure.

ProvisioningFailureException()

Initializes a new instance of the class.

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

Applies to

ProvisioningFailureException(String)

Initializes a new instance of the class. Defaults the reason to ConfigurationDataInaccessible.

public:
 ProvisioningFailureException(System::String ^ message);
public ProvisioningFailureException (string message);
new Microsoft.Rtc.Collaboration.ProvisioningFailureException : string -> Microsoft.Rtc.Collaboration.ProvisioningFailureException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

ProvisioningFailureException(SerializationInfo, StreamingContext)

Initializes a new instance of the class from serialized data.

protected:
 ProvisioningFailureException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ProvisioningFailureException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Collaboration.ProvisioningFailureException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Collaboration.ProvisioningFailureException
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

ProvisioningFailureException(String, Exception)

Initializes a new instance of the class. Defaults the reason to ConfigurationDataInaccessible.

public:
 ProvisioningFailureException(System::String ^ message, Exception ^ innerException);
public ProvisioningFailureException (string message, Exception innerException);
new Microsoft.Rtc.Collaboration.ProvisioningFailureException : string * Exception -> Microsoft.Rtc.Collaboration.ProvisioningFailureException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

ProvisioningFailureException(String, Exception, ProvisioningFailureReason)

Initializes a new instance of the class with a specific reason for the failure.

public:
 ProvisioningFailureException(System::String ^ message, Exception ^ innerException, Microsoft::Rtc::Collaboration::ProvisioningFailureReason failureReason);
public ProvisioningFailureException (string message, Exception innerException, Microsoft.Rtc.Collaboration.ProvisioningFailureReason failureReason);
new Microsoft.Rtc.Collaboration.ProvisioningFailureException : string * Exception * Microsoft.Rtc.Collaboration.ProvisioningFailureReason -> Microsoft.Rtc.Collaboration.ProvisioningFailureException
Public Sub New (message As String, innerException As Exception, failureReason As ProvisioningFailureReason)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

failureReason
ProvisioningFailureReason

The reason for the failure of the operation.

Applies to