MembershipPasswordException 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.
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 |
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 |
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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru