DataConnectionOpenCanceledException 생성자 (String, Exception)

지정된 오류 메시지와 내부 예외를 사용하여 DataConnectionOpenCanceledException 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.Data.Services
어셈블리:  Microsoft.VisualStudio.Data.Services(Microsoft.VisualStudio.Data.Services.dll)

구문

‘선언
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public DataConnectionOpenCanceledException(
    string message,
    Exception innerException
)
public:
DataConnectionOpenCanceledException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> DataConnectionOpenCanceledException
public function DataConnectionOpenCanceledException(
    message : String, 
    innerException : Exception
)

매개 변수

  • message
    형식: String

    예외에 대한 이유를 설명하는 오류 메시지입니다.

  • innerException
    형식: Exception

    현재 예외의 원인이 되는 예외이거나, 내부 예외를 지정하지 않았으면 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

.NET Framework 보안

참고 항목

참조

DataConnectionOpenCanceledException 클래스

DataConnectionOpenCanceledException 오버로드

Microsoft.VisualStudio.Data.Services 네임스페이스