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
connectionIdConnectionIdThe connection identifier.
requestIdsIReadOnlyList<int>The request ids.
lengthintThe length.
networkDurationTimeSpanThe duration of time spent on the network.
serializationDurationTimeSpanThe duration of time spent serializing the messages.
operationIdlong?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
connectionIdConnectionIdThe connection identifier.
requestIdintThe request id.
lengthintThe length.
networkDurationTimeSpanThe duration of time spent on the network.
serializationDurationTimeSpanThe duration of time spent serializing the messages.
operationIdlong?The operation identifier.