Search Results for

    Show / Hide Table of Contents

    Class DeprecatedSyncClientException

    Exception representing the attempted use of a deprecated device/replica.

    Inheritance
    System.Object
    System.Exception
    System.SystemException
    System.InvalidOperationException
    DeprecatedSyncClientException
    Implements
    System.Runtime.InteropServices._Exception
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetType()
    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: 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
    System.Exception.Message

    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.

    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    Implements
    System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    In This Article
    Back to top Copyright © 2020 software architects gmbh