Class DeprecatedSyncClientException
Exception representing the attempted use of a deprecated device/replica.
Inheritance
Implements
Inherited Members
Namespace: TimeCockpit.Data.Sync
Assembly: TimeCockpit.Data.dll
Syntax
[Serializable]
public class DeprecatedSyncClientException : InvalidOperationException, _Exception, ISerializable
Constructors
DeprecatedSyncClientException(Guid, Boolean)
Initializes a new instance of the DeprecatedSyncClientException class.
Declaration
public DeprecatedSyncClientException(Guid deviceId, bool implicitTimeout)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | deviceId | The device uuid. |
System.Boolean | implicitTimeout | Indicates whether the deprecation was implicit/time based. |
DeprecatedSyncClientException(SerializationInfo, StreamingContext)
Initializes a new instance of the DeprecatedSyncClientException class.
Declaration
protected DeprecatedSyncClientException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Properties
DeviceId
Gets the device uuid.
Declaration
public Guid DeviceId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
ImplicitTimeout
Gets a value indicating whether the deprecation was implicit/time based.
Declaration
public bool ImplicitTimeout { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |