Initializes a new instance of the SQLTraceException class with the specified source type, message and inner exception.
네임스페이스: Microsoft.SqlServer.Management.Trace
어셈블리: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
구문
‘선언
Public Sub New ( _
messageSource As Type, _
messageID As String, _
innerException As Exception _
)
public SqlTraceException (
Type messageSource,
string messageID,
Exception innerException
)
public:
SqlTraceException (
Type^ messageSource,
String^ messageID,
Exception^ innerException
)
public SqlTraceException (
Type messageSource,
String messageID,
Exception innerException
)
public function SqlTraceException (
messageSource : Type,
messageID : String,
innerException : Exception
)
매개 변수
- messageSource
A Type system object value that specifies the source of the exception.
- messageID
- innerException
An Exception object value that specifies the inner exception.
주의
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
예
How to: Catch an Exception in Visual Basic .NET
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
SqlTraceException Class
SqlTraceException Members
Microsoft.SqlServer.Management.Trace Namespace