Class UnsupportedResourceTypeException
Used to indicate a resource type is not supported for a connection
Implements
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Exceptions
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
[Serializable]
public class UnsupportedResourceTypeException : MaestroException, ISerializable
Constructors
| Improve this Doc View SourceUnsupportedResourceTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the UnsupportedResourceTypeException class.
Declaration
protected UnsupportedResourceTypeException(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). |
UnsupportedResourceTypeException(String)
Initializes a new instance of the UnsupportedResourceTypeException class.
Declaration
public UnsupportedResourceTypeException(string rt)
Parameters
Type | Name | Description |
---|---|---|
System.String | rt | The resource type. |
UnsupportedResourceTypeException(String, String)
Initializes a new instance of the UnsupportedResourceTypeException class.
Declaration
public UnsupportedResourceTypeException(string rt, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | rt | The resource type. |
System.String | message | The message. |
UnsupportedResourceTypeException(String, String, Exception)
Initializes a new instance of the UnsupportedResourceTypeException class.
Declaration
public UnsupportedResourceTypeException(string rt, string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | rt | The resource type. |
System.String | message | The message. |
System.Exception | inner | The inner. |
Properties
| Improve this Doc View SourceResourceType
Gets or sets the type of the resource.
Declaration
public string ResourceType { get; }
Property Value
Type | Description |
---|---|
System.String | The type of the resource. |