ObjectValidationException 생성자 (String, String, Exception)

Initializes a new instance of the ObjectValidationException class that has the specified object name, object type and inner exception.

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

구문

‘선언
Public Sub New ( _
    objectType As String, _
    objectName As String, _
    innerException As Exception _
)
‘사용 방법
Dim objectType As String 
Dim objectName As String 
Dim innerException As Exception 

Dim instance As New ObjectValidationException(objectType, _
    objectName, innerException)
public ObjectValidationException(
    string objectType,
    string objectName,
    Exception innerException
)
public:
ObjectValidationException(
    String^ objectType, 
    String^ objectName, 
    Exception^ innerException
)
new : 
        objectType:string * 
        objectName:string * 
        innerException:Exception -> ObjectValidationException
public function ObjectValidationException(
    objectType : String, 
    objectName : String, 
    innerException : Exception
)

매개 변수

  • objectType
    유형: System.String
    A String value that specifies the type of object that encountered an error during validation.
  • objectName
    유형: System.String
    A String value that specifies the name of the object that encountered an error during validation.
  • innerException
    유형: System.Exception
    An Exception object that contains the inner exception. This is used when one exception causes another exception to be raised.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

SMO 예외 처리

참고 항목

참조

ObjectValidationException 클래스

ObjectValidationException 오버로드

Microsoft.SqlServer.Management.Dmf 네임스페이스