다음을 통해 공유


ValidationState 생성자 (String, Exception, String, Boolean)

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

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

구문

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

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

매개 변수

  • error
    유형: System.Exception
    Specifies the exception that is the source of the validation error.
  • bindingKey
    유형: System.String
    Specifies the name of the property that generated the exception.
  • isWarning
    유형: System.Boolean
    Specifies whether the fault is a warning. If true, the fault is a warning. If false, the fault is an error.

참고 항목

참조

ValidationState 클래스

ValidationState 오버로드

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