SqlTraceException SqlTraceException SqlTraceException Class

Definition

The SqlTraceException class represents the general exception raised by the SMO trace objects.

public ref class SqlTraceException : Microsoft::SqlServer::Management::Common::SqlServerManagementException
public class SqlTraceException : Microsoft.SqlServer.Management.Common.SqlServerManagementException
Public Class SqlTraceException
Inherits SqlServerManagementException
Inheritance
Microsoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementException
SqlTraceExceptionSqlTraceExceptionSqlTraceException
Derived

Remarks

This class represents the main exception class in the SMO trace objects.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

SqlTraceException() SqlTraceException() SqlTraceException()

Initializes a new instance of the SqlTraceException class.

SqlTraceException(String) SqlTraceException(String) SqlTraceException(String)

Initializes a new instance of the SqlTraceException class with the specified message.

SqlTraceException(SerializationInfo, StreamingContext) SqlTraceException(SerializationInfo, StreamingContext) SqlTraceException(SerializationInfo, StreamingContext)

Initializes a new instance of the SqlTraceException class with the specified serialization information and the specified streaming context.

SqlTraceException(String, Exception) SqlTraceException(String, Exception) SqlTraceException(String, Exception)

Initializes a new instance of the SqlTraceException class with the specified message and inner exception.

SqlTraceException(Type, String) SqlTraceException(Type, String) SqlTraceException(Type, String)

Initializes a new instance of the SqlTraceException class with the specified source type and the specified message.

SqlTraceException(Type, String, Exception) SqlTraceException(Type, String, Exception) SqlTraceException(Type, String, Exception)

Initializes a new instance of the SqlTraceException class with the specified source type, message and inner exception.

Properties

ProdVer ProdVer ProdVer

Gets a String value that specifies the product version.

Applies to