QuicConnectionOptions.DefaultCloseErrorCode Property
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.
Gets or sets the error code used for CloseAsync(Int64, CancellationToken) when the connection is disposed.
public:
property long DefaultCloseErrorCode { long get(); void set(long value); };
public long DefaultCloseErrorCode { get; set; }
member this.DefaultCloseErrorCode : int64 with get, set
Public Property DefaultCloseErrorCode As Long
Property Value
Remarks
This property is mandatory, and not setting it will result in validation errors when establishing a connection.
To use a different close error code, call CloseAsync(Int64, CancellationToken) explicitly before disposing.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.