Class AcceptedEventArgs
Informs that port was successfully bound and got a specified connection id.
public sealed record AcceptedEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<AcceptedEventArgs>
- Inheritance
-
EventArgsAcceptedEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.AdditionalMessageData
Constructors
AcceptedEventArgs(long, string)
Informs that port was successfully bound and got a specified connection id.
public AcceptedEventArgs(long Port, string ConnectionId)
Parameters
Properties
ConnectionId
Connection id to be used.
public string ConnectionId { get; init; }
Property Value
Port
Port number that was successfully bound.
public long Port { get; init; }