UserProfileException UserProfileException UserProfileException Constructors

Definition

Overloads

UserProfileException() UserProfileException() UserProfileException()

Initializes a new instance of the UserProfileException class.

UserProfileException(String) UserProfileException(String) UserProfileException(String)

Initializes a new instance of the UserProfileException class.

UserProfileException(SerializationInfo, StreamingContext) UserProfileException(SerializationInfo, StreamingContext) UserProfileException(SerializationInfo, StreamingContext)

Initializes a new instance of the UserProfileException class.

UserProfileException(String, Exception) UserProfileException(String, Exception) UserProfileException(String, Exception)

Initializes a new instance of the UserProfileException class.

UserProfileException() UserProfileException() UserProfileException()

Initializes a new instance of the UserProfileException class.

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

UserProfileException(String) UserProfileException(String) UserProfileException(String)

Initializes a new instance of the UserProfileException class.

public:
 UserProfileException(System::String ^ msg);
public UserProfileException (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.

UserProfileException(SerializationInfo, StreamingContext) UserProfileException(SerializationInfo, StreamingContext) UserProfileException(SerializationInfo, StreamingContext)

Initializes a new instance of the UserProfileException class.

protected:
 UserProfileException(System::Runtime::Serialization::SerializationInfo ^ i, System::Runtime::Serialization::StreamingContext c);
protected UserProfileException (System.Runtime.Serialization.SerializationInfo i, System.Runtime.Serialization.StreamingContext c);
Protected Sub New (i As SerializationInfo, c As StreamingContext)
Parameters
i
SerializationInfo SerializationInfo SerializationInfo

Data needed to serialize or deserialize an object.

c
StreamingContext StreamingContext StreamingContext

Source and destination of a given serialized stream, which provides an additional caller-defined context.

UserProfileException(String, Exception) UserProfileException(String, Exception) UserProfileException(String, Exception)

Initializes a new instance of the UserProfileException class.

public:
 UserProfileException(System::String ^ msg, Exception ^ e);
public UserProfileException (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