Share via


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
[System.Serializable]
public class SqlTraceException : Microsoft.SqlServer.Management.Common.SqlServerManagementException
[<System.Serializable>]
type SqlTraceException = class
    inherit SqlServerManagementException
Public Class SqlTraceException
Inherits SqlServerManagementException
Inheritance
SqlTraceException
Derived
Attributes

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()

Initializes a new instance of the SqlTraceException class.

SqlTraceException(SerializationInfo, StreamingContext)

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

SqlTraceException(String, Exception)

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

SqlTraceException(String)

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

SqlTraceException(Type, String, Exception)

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

SqlTraceException(Type, String)

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

Properties

ProdVer

Gets a String value that specifies the product version.

Applies to