ServiceRequiredException Constructor
ServiceRequiredException(Type)
Create a new ServiceRequiredException instance.
Declaration
public ServiceRequiredException(Type serviceType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | serviceType |
ServiceRequiredException()
Create a new ServiceRequiredException instance.
Declaration
public ServiceRequiredException()
ServiceRequiredException(String)
Create a new ServiceRequiredException instance.
Declaration
public ServiceRequiredException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
ServiceRequiredException(String, Exception)
Create a new ServiceRequiredException instance.
Declaration
public ServiceRequiredException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
ServiceRequiredException(SerializationInfo, StreamingContext)
Create a new ServiceRequiredException instance.
Declaration
protected ServiceRequiredException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |