DataProviderException 생성자 (String, String, Exception)

클래스 생성자입니다.새 인스턴스를 초기화는 DataProviderException 클래스에 지정 된 공급자 이름, 오류 메시지 및이 예외의 원인인 내부 예외에 대 한 참조입니다.

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

구문

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

매개 변수

  • providerName
    형식: System.String
    오류를 발생 시킨 공급자의 이름입니다.
  • message
    형식: System.String
    예외에 대한 이유를 설명하는 오류 메시지입니다.
  • innerException
    형식: System.Exception
    현재 예외의 원인이 되는 예외입니다.경우는 innerException 매개 변수가 아닌는 nullNull 참조(Visual Basic의 경우 Nothing) 참조를 현재 예외는 내부 예외를 처리 하는 catch 블록에서 발생 합니다.

설명

"< 데이터 공급자 이름 >에서 예기치 않은 오류가 발생 합니다.이 생성자를 호출할 때 예외를 전파 하는 일반 오류 메시지가입니다.이 문제를 해결 하려면 공급자 공급 업체 문의 하십시오. "

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

DataProviderException 클래스

DataProviderException 오버로드

Microsoft.VisualStudio.Data 네임스페이스