Constructor ConnectionSentMessagesEvent
ConnectionSentMessagesEvent(ConnectionId, IReadOnlyList<int>, int, TimeSpan, TimeSpan, long?)
Initializes a new instance of the ConnectionSentMessagesEvent struct.
[Obsolete("Support for sending multiple messages has been removed, use the constructor with single requestId instead.")]
public ConnectionSentMessagesEvent(ConnectionId connectionId, IReadOnlyList<int> requestIds, int length, TimeSpan networkDuration, TimeSpan serializationDuration, long? operationId)
Parameters
connectionId
ConnectionIdThe connection identifier.
requestIds
IReadOnlyList<int>The request ids.
length
intThe length.
networkDuration
TimeSpanThe duration of time spent on the network.
serializationDuration
TimeSpanThe duration of time spent serializing the messages.
operationId
long?The operation identifier.
ConnectionSentMessagesEvent(ConnectionId, int, int, TimeSpan, TimeSpan, long?)
Initializes a new instance of the ConnectionSentMessagesEvent struct.
public ConnectionSentMessagesEvent(ConnectionId connectionId, int requestId, int length, TimeSpan networkDuration, TimeSpan serializationDuration, long? operationId)
Parameters
connectionId
ConnectionIdThe connection identifier.
requestId
intThe request id.
length
intThe length.
networkDuration
TimeSpanThe duration of time spent on the network.
serializationDuration
TimeSpanThe duration of time spent serializing the messages.
operationId
long?The operation identifier.