Click or drag to resize

ExtensionsHandleErrorResponse Method

[Missing <summary> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static bool HandleErrorResponse(
	this Message message,
	Exception ex,
	DateTimeOffset currentTime,
	Action<Message> sendOut,
	Func<DataType, long[]> getSubscribers = null
)

Parameters

message
Type: StockSharp.MessagesMessage

[Missing <param name="message"/> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

ex
Type: SystemException

[Missing <param name="ex"/> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

currentTime
Type: SystemDateTimeOffset

[Missing <param name="currentTime"/> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

sendOut
Type: SystemActionMessage

[Missing <param name="sendOut"/> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

getSubscribers (Optional)
Type: SystemFuncDataType, Int64

[Missing <param name="getSubscribers"/> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:StockSharp.Messages.Extensions.HandleErrorResponse(StockSharp.Messages.Message,System.Exception,System.DateTimeOffset,System.Action{StockSharp.Messages.Message},System.Func{StockSharp.Messages.DataType,System.Int64[]})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Message. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also