Class DeviceRelationshipException
[Serializable]
public class DeviceRelationshipException : Exception, ISerializable, _Exception
Inheritance
System.Object
System.Exception
DeviceRelationshipException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.InternalToString()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: HomeSeer.PluginSdk.Devices.Identification
Assembly: PluginSdk.dll
Represents errors occuring while trying to set the relationship of a device or feature
Constructors
View SourceDeviceRelationshipException(SerializationInfo, StreamingContext)
Special constructor used for deserialization. This is mandatory in order for HSCF to be able to deserialize this exception.
Declaration
protected DeviceRelationshipException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The data to deserialize from |
System.Runtime.Serialization.StreamingContext | context | The context of the source stream |
DeviceRelationshipException(String)
Initialize a new instance of the DeviceRelationshipException class with a specified message
Declaration
public DeviceRelationshipException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message |
DeviceRelationshipException(String, Exception)
Initialize a new instance of the DeviceRelationshipException class with a specified message and a reference to an inner exception
Declaration
public DeviceRelationshipException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message |
System.Exception | innerException | An System.Exception that caused this exception |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception