PolicyResourceNotEnabledException PolicyResourceNotEnabledException PolicyResourceNotEnabledException Constructors

Definition

Overloads

PolicyResourceNotEnabledException() PolicyResourceNotEnabledException() PolicyResourceNotEnabledException()

Initializes a new instance of the PolicyResourceNotEnabledException class.

PolicyResourceNotEnabledException(String) PolicyResourceNotEnabledException(String) PolicyResourceNotEnabledException(String)

Initializes a new instance of the PolicyResourceNotEnabledException class with a specified error message.

PolicyResourceNotEnabledException(SerializationInfo, StreamingContext) PolicyResourceNotEnabledException(SerializationInfo, StreamingContext) PolicyResourceNotEnabledException(SerializationInfo, StreamingContext)

Initializes a new instance of the PolicyResourceNotEnabledException class with serialized data.

PolicyResourceNotEnabledException(String, Exception) PolicyResourceNotEnabledException(String, Exception) PolicyResourceNotEnabledException(String, Exception)

PolicyResourceNotEnabledException() PolicyResourceNotEnabledException() PolicyResourceNotEnabledException()

Initializes a new instance of the PolicyResourceNotEnabledException class.

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

PolicyResourceNotEnabledException(String) PolicyResourceNotEnabledException(String) PolicyResourceNotEnabledException(String)

Initializes a new instance of the PolicyResourceNotEnabledException class with a specified error message.

public:
 PolicyResourceNotEnabledException(System::String ^ message);
public PolicyResourceNotEnabledException (string message);
Public Sub New (message As String)
Parameters
message
String String String

The message that describes the error.

PolicyResourceNotEnabledException(SerializationInfo, StreamingContext) PolicyResourceNotEnabledException(SerializationInfo, StreamingContext) PolicyResourceNotEnabledException(SerializationInfo, StreamingContext)

Initializes a new instance of the PolicyResourceNotEnabledException class with serialized data.

public:
 PolicyResourceNotEnabledException(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext sc);
public PolicyResourceNotEnabledException (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext sc);
Public Sub New (si As SerializationInfo, sc As StreamingContext)
Parameters
si
SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

sc
StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination of the serialized object data stream.

PolicyResourceNotEnabledException(String, Exception) PolicyResourceNotEnabledException(String, Exception) PolicyResourceNotEnabledException(String, Exception)

public:
 PolicyResourceNotEnabledException(System::String ^ message, Exception ^ inner);
public PolicyResourceNotEnabledException (string message, Exception inner);
Public Sub New (message As String, inner As Exception)
Parameters
message
String String String

Applies to