InvalidServiceException Class

Definition

Represents the exception that is thrown because the service specified for an action is invalid.

public ref class InvalidServiceException : Exception
[System.Runtime.Serialization.KnownType("KnownTypes")]
[System.Serializable]
public class InvalidServiceException : Exception
type InvalidServiceException = class
    inherit Exception
Public Class InvalidServiceException
Inherits Exception
Inheritance
InvalidServiceException
Derived
Attributes

Constructors

InvalidServiceException()

Initializes a new instance of the InvalidServiceException class.

InvalidServiceException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidServiceException class using serialized data.

InvalidServiceException(String)

Initializes a new instance of the InvalidServiceException class using the specified error message.

InvalidServiceException(String, Exception)

Initializes a new instance of the InvalidServiceException class using the specified message and a reference to the inner exception that is the cause of this exception.

Applies to