PasswordException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
PasswordException 클래스의 새 인스턴스를 인스턴스화합니다.
오버로드
| PasswordException() |
PasswordException 클래스의 새 인스턴스를 인스턴스화합니다. |
| PasswordException(String) |
지정된 오류 메시지를 사용하여 PasswordException 클래스의 새 인스턴스를 인스턴스화합니다. |
| PasswordException(SerializationInfo, StreamingContext) |
사용되지 않음.
지정된 PasswordException 및 SerializationInfo 인스턴스에서 StreamingContext 클래스의 새 인스턴스를 초기화합니다. |
| PasswordException(String, Exception) |
지정된 오류 메시지 및 지정된 중첩 예외를 사용하여 PasswordException 클래스의 새 인스턴스를 인스턴스화합니다. |
PasswordException()
- Source:
- exceptions.cs
- Source:
- exceptions.cs
- Source:
- exceptions.cs
PasswordException 클래스의 새 인스턴스를 인스턴스화합니다.
public:
PasswordException();
public PasswordException ();
Public Sub New ()
설명
매개 변수가 없는 생성자는 클래스의 PasswordException 새 instance 초기화합니다.
Message 속성은 오류를 설명 하는 시스템 제공 메시지로 초기화 합니다. 이 메시지는 현재 시스템 culture를 고려합니다.
InnerException 속성이 null으로 초기화됩니다.
적용 대상
PasswordException(String)
- Source:
- exceptions.cs
- Source:
- exceptions.cs
- Source:
- exceptions.cs
지정된 오류 메시지를 사용하여 PasswordException 클래스의 새 인스턴스를 인스턴스화합니다.
public:
PasswordException(System::String ^ message);
public PasswordException (string message);
new System.DirectoryServices.AccountManagement.PasswordException : string -> System.DirectoryServices.AccountManagement.PasswordException
Public Sub New (message As String)
매개 변수
- message
- String
오류 메시지 텍스트입니다.
설명
합니다 PasswordException 인스턴스가 사용 하 여 초기화 되는 Message 속성의 값으로 설정 message합니다. 하는 경우 message 됩니다 null는 Message 속성은 시스템 제공 메시지로 초기화 합니다.
적용 대상
PasswordException(SerializationInfo, StreamingContext)
- Source:
- exceptions.cs
- Source:
- exceptions.cs
- Source:
- exceptions.cs
주의
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
지정된 PasswordException 및 SerializationInfo 인스턴스에서 StreamingContext 클래스의 새 인스턴스를 초기화합니다.
protected:
PasswordException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PasswordException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected PasswordException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.AccountManagement.PasswordException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.PasswordException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.DirectoryServices.AccountManagement.PasswordException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.PasswordException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
매개 변수
- info
- SerializationInfo
새 PasswordException을 직렬화하는 데 필요한 정보가 들어 있는 SerializationInfo입니다.
- context
- StreamingContext
새 PasswordException과 관련된 직렬화된 스트림의 원본이 들어 있는 StreamingContext입니다.
- 특성
적용 대상
PasswordException(String, Exception)
- Source:
- exceptions.cs
- Source:
- exceptions.cs
- Source:
- exceptions.cs
지정된 오류 메시지 및 지정된 중첩 예외를 사용하여 PasswordException 클래스의 새 인스턴스를 인스턴스화합니다.
public:
PasswordException(System::String ^ message, Exception ^ innerException);
public PasswordException (string message, Exception innerException);
new System.DirectoryServices.AccountManagement.PasswordException : string * Exception -> System.DirectoryServices.AccountManagement.PasswordException
Public Sub New (message As String, innerException As Exception)
매개 변수
- message
- String
오류 메시지 텍스트입니다.
- innerException
- Exception
중첩된 예외입니다.
설명
PasswordException 인스턴스를 초기화할 합니다 Message 속성의 값으로 설정 message 하며 InnerException 속성의 값으로 설정 innerException합니다. 하는 경우 message 됩니다 null는 Message 속성은 시스템 제공 메시지로 초기화 합니다. 합니다 InnerException 으로 초기화 됩니다 null합니다.