Edit

Bagikan melalui


MembershipPasswordException Constructors

Definition

Initializes a new instance of the MembershipPasswordException class.

Overloads

MembershipPasswordException()

Initializes a new instance of the MembershipPasswordException class.

MembershipPasswordException(String)

Initializes a new instance of the MembershipPasswordException class and sets the Message property to the supplied message.

MembershipPasswordException(SerializationInfo, StreamingContext)

Initializes a new instance of the MembershipPasswordException class with the supplied serialization information and context.

MembershipPasswordException(String, Exception)

Initializes a new instance of the MembershipPasswordException class and sets the Message property to the supplied message and the InnerException property to the supplied innerException.

MembershipPasswordException()

Initializes a new instance of the MembershipPasswordException class.

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

Applies to

MembershipPasswordException(String)

Initializes a new instance of the MembershipPasswordException class and sets the Message property to the supplied message.

public:
 MembershipPasswordException(System::String ^ message);
public MembershipPasswordException (string message);
new System.Web.Security.MembershipPasswordException : string -> System.Web.Security.MembershipPasswordException
Public Sub New (message As String)

Parameters

message
String

A description of the reason for the exception.

Applies to

MembershipPasswordException(SerializationInfo, StreamingContext)

Initializes a new instance of the MembershipPasswordException class with the supplied serialization information and context.

protected:
 MembershipPasswordException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected MembershipPasswordException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Web.Security.MembershipPasswordException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Web.Security.MembershipPasswordException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Applies to

MembershipPasswordException(String, Exception)

Initializes a new instance of the MembershipPasswordException class and sets the Message property to the supplied message and the InnerException property to the supplied innerException.

public:
 MembershipPasswordException(System::String ^ message, Exception ^ innerException);
public MembershipPasswordException (string message, Exception innerException);
new System.Web.Security.MembershipPasswordException : string * Exception -> System.Web.Security.MembershipPasswordException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A description of the reason for the exception.

innerException
Exception

The exception that caused the MembershipPasswordException.

Applies to