ServiceRequestException ServiceRequestException ServiceRequestException Class

Definition

The ServiceRequestException class represents the exception that is raised when an error occurs during a service request.

public ref class ServiceRequestException sealed : Microsoft::SqlServer::Management::Smo::SmoException
public sealed class ServiceRequestException : Microsoft.SqlServer.Management.Smo.SmoException
Public NotInheritable Class ServiceRequestException
Inherits SmoException
Inheritance
Microsoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementException
ServiceRequestExceptionServiceRequestExceptionServiceRequestException

Examples

Handling SMO Exceptions

Remarks

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

ServiceRequestException() ServiceRequestException() ServiceRequestException()

Initializes a new instance of the ServiceRequestException class.

ServiceRequestException(String) ServiceRequestException(String) ServiceRequestException(String)

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

ServiceRequestException(String, Exception) ServiceRequestException(String, Exception) ServiceRequestException(String, Exception)

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

Properties

ErrorCode ErrorCode ErrorCode

Gets the error code that is generated by the system when the service request exception is raised.

HelpLink HelpLink HelpLink

Gets the Help link for further information from Microsoft about the SMO exception.

(Inherited from SmoException)
Message Message Message

Gets the message that describes the current exception.

SmoExceptionType SmoExceptionType SmoExceptionType

Gets the type of SMO exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

SetHelpContext(String) SetHelpContext(String) SetHelpContext(String)

Sets the Help context value for the referenced exception.

(Inherited from SmoException)

Applies to