Class UnsupportedServiceTypeException
Exception that is thrown when an attempt is made to get a service which is not supported by the connection
Implements
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Exceptions
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
[Serializable]
public class UnsupportedServiceTypeException : MaestroException, ISerializable
Constructors
| Improve this Doc View SourceUnsupportedServiceTypeException(ServiceType)
Initializes a new instance of the UnsupportedServiceTypeException class.
Declaration
public UnsupportedServiceTypeException(ServiceType st)
Parameters
Type | Name | Description |
---|---|---|
ServiceType | st | The st. |
UnsupportedServiceTypeException(ServiceType, String)
Initializes a new instance of the UnsupportedServiceTypeException class.
Declaration
public UnsupportedServiceTypeException(ServiceType st, string message)
Parameters
Type | Name | Description |
---|---|---|
ServiceType | st | The st. |
System.String | message | The message. |
UnsupportedServiceTypeException(ServiceType, String, Exception)
Initializes a new instance of the UnsupportedServiceTypeException class.
Declaration
public UnsupportedServiceTypeException(ServiceType st, string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
ServiceType | st | The st. |
System.String | message | The message. |
System.Exception | inner | The inner. |
UnsupportedServiceTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the UnsupportedServiceTypeException class.
Declaration
protected UnsupportedServiceTypeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
Properties
| Improve this Doc View SourceServiceType
Gets or sets the type of the service.
Declaration
public ServiceType ServiceType { get; }
Property Value
Type | Description |
---|---|
ServiceType | The type of the service. |