ServerPolicyException 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
ServerPolicyException() |
Initializes a new instance of the class. |
ServerPolicyException(String) |
Initializes a new instance of the class with a specified error message. |
ServerPolicyException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with serialized data. |
ServerPolicyException(String, Exception) |
Initializes a new instance of the class with a specified error message and reference to the inner exception that is the cause of this exception. |
ServerPolicyException()
Initializes a new instance of the class.
public:
ServerPolicyException();
public ServerPolicyException ();
Public Sub New ()
Applies to
ServerPolicyException(String)
Initializes a new instance of the class with a specified error message.
public:
ServerPolicyException(System::String ^ message);
public ServerPolicyException (string message);
new Microsoft.Rtc.Signaling.ServerPolicyException : string -> Microsoft.Rtc.Signaling.ServerPolicyException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
ServerPolicyException(SerializationInfo, StreamingContext)
Initializes a new instance of the class with serialized data.
protected:
ServerPolicyException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ServerPolicyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.ServerPolicyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.ServerPolicyException
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
ServerPolicyException(String, Exception)
Initializes a new instance of the class with a specified error message and reference to the inner exception that is the cause of this exception.
public:
ServerPolicyException(System::String ^ message, Exception ^ innerException);
public ServerPolicyException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.ServerPolicyException : string * Exception -> Microsoft.Rtc.Signaling.ServerPolicyException
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.