UtilityException 생성자 (String, Exception)

Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.

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

구문

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

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

매개 변수

  • innerException
    유형: System.Exception
    An Exception that is the cause of the current exception, or a null reference if no inner exception is specified.

참고 항목

참조

UtilityException 클래스

UtilityException 오버로드

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