PrivacyItemException PrivacyItemException PrivacyItemException Constructors

Definition

Overloads

PrivacyItemException() PrivacyItemException() PrivacyItemException()

Initializes a new instance of the PrivacyItemException class.

PrivacyItemException(String) PrivacyItemException(String) PrivacyItemException(String)

Initializes a new instance of the PrivacyItemException class.

PrivacyItemException(SerializationInfo, StreamingContext) PrivacyItemException(SerializationInfo, StreamingContext) PrivacyItemException(SerializationInfo, StreamingContext)

Initializes a new instance of the PrivacyItemException class.

PrivacyItemException(String, Exception) PrivacyItemException(String, Exception) PrivacyItemException(String, Exception)

Initializes a new instance of the PrivacyItemException class.

PrivacyItemException() PrivacyItemException() PrivacyItemException()

Initializes a new instance of the PrivacyItemException class.

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

PrivacyItemException(String) PrivacyItemException(String) PrivacyItemException(String)

Initializes a new instance of the PrivacyItemException class.

public:
 PrivacyItemException(System::String ^ msg);
public PrivacyItemException (string msg);
Public Sub New (msg As String)
Parameters
msg
String String String

An error message that explains the reason for the exception, or an empty string.

PrivacyItemException(SerializationInfo, StreamingContext) PrivacyItemException(SerializationInfo, StreamingContext) PrivacyItemException(SerializationInfo, StreamingContext)

Initializes a new instance of the PrivacyItemException class.

protected:
 PrivacyItemException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PrivacyItemException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
info
SerializationInfo SerializationInfo SerializationInfo

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

context
StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

PrivacyItemException(String, Exception) PrivacyItemException(String, Exception) PrivacyItemException(String, Exception)

Initializes a new instance of the PrivacyItemException class.

public:
 PrivacyItemException(System::String ^ msg, Exception ^ e);
public PrivacyItemException (string msg, Exception e);
Public Sub New (msg As String, e As Exception)
Parameters
msg
String String String

An error message that explains the reason for the exception, or an empty string.

e
Exception Exception Exception

Inner exception that is the cause of this exception.

Applies to