Language

StatusResponseClassifier(ReadOnlySpan<UInt16>) Constructor

Definition

Creates a new instance of StatusResponseClassifier

public:
 StatusResponseClassifier(ReadOnlySpan<System::UInt16> successStatusCodes);
public StatusResponseClassifier(ReadOnlySpan<ushort> successStatusCodes);
new System.Net.ClientModel.Core.StatusResponseClassifier : ReadOnlySpan<uint16> -> System.Net.ClientModel.Core.StatusResponseClassifier
Public Sub New (successStatusCodes As ReadOnlySpan(Of UShort))

Parameters

successStatusCodes
ReadOnlySpan<UInt16>

The status codes that this classifier will consider not to be errors.

Applies to