HttpPipeline.CreateHttpMessagePropertiesScope Methode

Definition

Erstellt einen Bereich, in dem alle HttpMessages Eigenschaften bereitgestellt hätten.

public static IDisposable CreateHttpMessagePropertiesScope (System.Collections.Generic.IDictionary<string,object?> messageProperties);
static member CreateHttpMessagePropertiesScope : System.Collections.Generic.IDictionary<string, obj> -> IDisposable
Public Shared Function CreateHttpMessagePropertiesScope (messageProperties As IDictionary(Of String, Object)) As IDisposable

Parameter

messageProperties
IDictionary<String,Object>

Eigenschaften, die zu HttpMessages hinzugefügt werden sollen

Gibt zurück

Die IDisposable instance, die verworfen werden muss, wenn Eigenschaften nicht mehr verwendet werden sollen.

Gilt für: