HttpMessageHandlerBuilder.Name Proprietà

Definizione

Ottiene o imposta il nome dell'oggetto HttpClient creato.

public:
 abstract property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public abstract string? Name { get; set; }
member this.Name : string with get, set
Public MustOverride Property Name As String

Valore della proprietà

Commenti

l'oggetto Name è impostato dall'infrastruttura IHttpClientFactory ed è pubblico solo a scopo di unit test. L'impostazione all'esterno Name degli scenari di test può avere risultati imprevedibili.

Si applica a