ServiceNotFoundException Class
The exception that is thrown when a service could not be found.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.ServiceNotFoundException
Namespace: Microsoft.SqlServer.Management
Assembly: Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)
Syntax
'Declaration
Public Class ServiceNotFoundException _
Inherits Exception
'Usage
Dim instance As ServiceNotFoundException
public class ServiceNotFoundException : Exception
public ref class ServiceNotFoundException : public Exception
type ServiceNotFoundException =
class
inherit Exception
end
public class ServiceNotFoundException extends Exception
The ServiceNotFoundException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ServiceNotFoundException | Initializes a new instance of the ServiceNotFoundException class with the specified service type. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
ServiceType | Gets the type of the service. | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.