Share via


ServiceUnavailableException Constructors

Definition

Overloads

ServiceUnavailableException(String)
ServiceUnavailableException(Type)

Instantiates a new instance of ServiceUnavailableException for the specified type of service,

ServiceUnavailableException(String, Exception)
ServiceUnavailableException(String, String)
ServiceUnavailableException(Type, Exception)

Instantiates a new instance of ServiceUnavailableException for the specified type of service and inner exception,

ServiceUnavailableException(String)

public ServiceUnavailableException (string serviceName);
new Microsoft.VisualStudio.Shell.ServiceUnavailableException : string -> Microsoft.VisualStudio.Shell.ServiceUnavailableException
Public Sub New (serviceName As String)

Parameters

serviceName
String

Applies to

ServiceUnavailableException(Type)

Instantiates a new instance of ServiceUnavailableException for the specified type of service,

public:
 ServiceUnavailableException(Type ^ serviceType);
public:
 ServiceUnavailableException(Platform::Type ^ serviceType);
public ServiceUnavailableException (Type serviceType);
new Microsoft.VisualStudio.Shell.ServiceUnavailableException : Type -> Microsoft.VisualStudio.Shell.ServiceUnavailableException
Public Sub New (serviceType As Type)

Parameters

serviceType
Type

The service type.

Applies to

ServiceUnavailableException(String, Exception)

public ServiceUnavailableException (string serviceName, Exception innerException);
new Microsoft.VisualStudio.Shell.ServiceUnavailableException : string * Exception -> Microsoft.VisualStudio.Shell.ServiceUnavailableException
Public Sub New (serviceName As String, innerException As Exception)

Parameters

serviceName
String
innerException
Exception

Applies to

ServiceUnavailableException(String, String)

public ServiceUnavailableException (string serviceName, string additionalMessage);
new Microsoft.VisualStudio.Shell.ServiceUnavailableException : string * string -> Microsoft.VisualStudio.Shell.ServiceUnavailableException
Public Sub New (serviceName As String, additionalMessage As String)

Parameters

serviceName
String
additionalMessage
String

Applies to

ServiceUnavailableException(Type, Exception)

Instantiates a new instance of ServiceUnavailableException for the specified type of service and inner exception,

public:
 ServiceUnavailableException(Type ^ serviceType, Exception ^ innerException);
public ServiceUnavailableException (Type serviceType, Exception innerException);
new Microsoft.VisualStudio.Shell.ServiceUnavailableException : Type * Exception -> Microsoft.VisualStudio.Shell.ServiceUnavailableException
Public Sub New (serviceType As Type, innerException As Exception)

Parameters

serviceType
Type

The service type.

innerException
Exception

The inner exception.

Applies to