Class CustomPropertyNotFoundException
An exception that is thrown when attempting to get or set a custom connection property that is not defined
Implements
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Exceptions
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
[Serializable]
public class CustomPropertyNotFoundException : MaestroException, ISerializable
Constructors
| Improve this Doc View SourceCustomPropertyNotFoundException()
Initializes a new instance of the CustomPropertyNotFoundException class.
Declaration
public CustomPropertyNotFoundException()
CustomPropertyNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the CustomPropertyNotFoundException class.
Declaration
protected CustomPropertyNotFoundException(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). |
CustomPropertyNotFoundException(String)
Initializes a new instance of the CustomPropertyNotFoundException class.
Declaration
public CustomPropertyNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
CustomPropertyNotFoundException(String, Exception)
Initializes a new instance of the CustomPropertyNotFoundException class.
Declaration
public CustomPropertyNotFoundException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | inner | The inner. |