IWebTransportSession.Abort(Int32) Method
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.
Abruptly close the WebTransport session and stop all the streams.
public void Abort (int errorCode);
abstract member Abort : int -> unit
Public Sub Abort (errorCode As Integer)
Parameters
- errorCode
- Int32
HTTP error code that corresponds to the reason for causing the abort.
Remarks
Error codes are described here: https://www.rfc-editor.org/rfc/rfc9114.html#name-http-3-error-codes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for