MembershipPasswordException Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy MembershipPasswordException.
Przeciążenia
| Nazwa | Opis |
|---|---|
| MembershipPasswordException() |
Inicjuje nowe wystąpienie klasy MembershipPasswordException. |
| MembershipPasswordException(String) |
Inicjuje nowe wystąpienie MembershipPasswordException klasy i ustawia Message właściwość na podany |
| MembershipPasswordException(SerializationInfo, StreamingContext) |
Inicjuje nowe wystąpienie MembershipPasswordException klasy z podanymi informacjami o serializacji i kontekstem. |
| MembershipPasswordException(String, Exception) |
Inicjuje MembershipPasswordException nowe wystąpienie klasy i ustawia Message właściwość na podaną |
MembershipPasswordException()
Inicjuje nowe wystąpienie klasy MembershipPasswordException.
public:
MembershipPasswordException();
public MembershipPasswordException();
Public Sub New ()
Dotyczy
MembershipPasswordException(String)
Inicjuje nowe wystąpienie MembershipPasswordException klasy i ustawia Message właściwość na podany messageelement .
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)
Parametry
- message
- String
Opis przyczyny wyjątku.
Dotyczy
MembershipPasswordException(SerializationInfo, StreamingContext)
Inicjuje nowe wystąpienie MembershipPasswordException klasy z podanymi informacjami o serializacji i kontekstem.
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)
Parametry
- info
- SerializationInfo
SerializationInfo przechowujące zserializowane dane obiektu dotyczące zgłaszanego wyjątku.
- context
- StreamingContext
StreamingContext zawierający kontekstowe informacje o źródle lub miejscu docelowym.
Dotyczy
MembershipPasswordException(String, Exception)
Inicjuje MembershipPasswordException nowe wystąpienie klasy i ustawia Message właściwość na podaną message i InnerException właściwość na podaną innerExceptionwartość .
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)
Parametry
- message
- String
Opis przyczyny wyjątku.
- innerException
- Exception
Wyjątek, który spowodował MembershipPasswordException.