ISocketsTelemetryConsumer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A consumer of System.Net.Sockets EventSource events.
public interface ISocketsTelemetryConsumer
type ISocketsTelemetryConsumer = interface
Public Interface ISocketsTelemetryConsumer
Methods
| Name | Description |
|---|---|
| OnConnectFailed(DateTime, SocketError, String) |
Called before OnConnectStop(DateTime) if the connect failed. |
| OnConnectStart(DateTime, String) |
Called before a Socket connect. |
| OnConnectStop(DateTime) |
Called after a Socket connect. |