forwardLogoutAsync Method (String)   Table of ContentOnErrorEvent Method forward
Session.LogoutAsync Method (Message)
Terminates the FIX Connection.

The initial Logout message is sent to the counterparty and the method returns immediately without waiting the acknowledgment Logout message.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax
C#
public virtual Task LogoutAsync(
	Message customLogoutMessage
)

Parameters

customLogoutMessage
Type: FIXForge.NET.FIX.Message
Custom Logout (MsgType=5) message.

Return Value

Type: Task
Task object that can be used to wait for the result of the asynchronous logout method.

Implements

ISession.LogoutAsync(Message)
See Also