Share via


ValidationState 생성자 (String, String)

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.. Initializes a new instance of the ValidationState class with the specified message and binding key.

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

구문

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

Dim instance As New ValidationState(message, _
    bindingKey)
public ValidationState(
    string message,
    string bindingKey
)
public:
ValidationState(
    String^ message, 
    String^ bindingKey
)
new : 
        message:string * 
        bindingKey:string -> ValidationState
public function ValidationState(
    message : String, 
    bindingKey : String
)

매개 변수

  • bindingKey
    유형: System.String
    Specifies the name of the property that generated the exception.

주의

By default, the fault type is set as Error.

참고 항목

참조

ValidationState 클래스

ValidationState 오버로드

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스