Click or drag to resize

DisconnectMessage Class

Disconnect from a server message (uses as a command in outgoing case, event in incoming case).
Inheritance Hierarchy
SystemObject
  CloneableMessage
    StockSharp.MessagesMessage
      StockSharp.MessagesBaseConnectionMessage
        StockSharp.MessagesDisconnectMessage

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
[SerializableAttribute]
public class DisconnectMessage : BaseConnectionMessage

The DisconnectMessage type exposes the following members.

Constructors
  NameDescription
Public methodDisconnectMessage
Initializes a new instance of the DisconnectMessage.
Top
Properties
  NameDescription
Public propertyAdapter
Source adapter. Can be .
(Inherited from Message.)
Public propertyError
Error info.
(Inherited from BaseConnectionMessage.)
Public propertyExtensionInfo
Extended information.
(Inherited from Message.)
Public propertyIsBack
Is loopback message.
(Inherited from Message.)
Public propertyLocalTime
Local timestamp when a message was received/created.
(Inherited from Message.)
Public propertyOfflineMode
Offline mode handling message.
(Inherited from Message.)
Public propertyType
Message type.
(Inherited from Message.)
Top
Methods
  NameDescription
Public methodClone
Create a copy of DisconnectMessage.
(Overrides MessageClone.)
Protected methodCopyTo(BaseConnectionMessage)
Copy the message into the destination.
(Inherited from BaseConnectionMessage.)
Protected methodCopyTo(Message)
Copy the message into the destination.
(Inherited from Message.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseConnectionMessage.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodReplaceSecurityId
Replace security id by the specified.
(Defined by Extensions.)
Public Extension MethodTryGetServerTime
Get message server time.
(Defined by Extensions.)
Public Extension MethodTryInitLocalTime
Try to initialize LocalTime by CurrentTime.
(Defined by Extensions.)
Top
See Also