다음을 통해 공유


PasswordExpiredException 생성자 (String)

Initializes a new instance of the PasswordExpiredException class with a specified message that describes the error.

네임스페이스:  Microsoft.SqlServer.Management.UI.ConnectionDlg
어셈블리:  ConnectionDlg(ConnectionDlg.dll)

구문

‘선언
Public Sub New ( _
    message As String _
)
‘사용 방법
Dim message As String 

Dim instance As New PasswordExpiredException(message)
public PasswordExpiredException(
    string message
)
public:
PasswordExpiredException(
    String^ message
)
new : 
        message:string -> PasswordExpiredException
public function PasswordExpiredException(
    message : String
)

매개 변수

  • message
    유형: System.String
    The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

주의

The following table shows the initial property values for an instance of PasswordExpiredException.

Property

Value

InnerException

nullnull 참조(Visual Basic에서는 Nothing).

Message

The error message string specified in message.

참고 항목

참조

PasswordExpiredException 클래스

PasswordExpiredException 오버로드

Microsoft.SqlServer.Management.UI.ConnectionDlg 네임스페이스

관련 자료

Handling and Throwing Exceptions