LoggingOptions Class
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.
Options to configure HTTP client requests logging.
public ref class LoggingOptions
public class LoggingOptions
type LoggingOptions = class
Public Class LoggingOptions
- Inheritance
-
LoggingOptions
Body |
Gets or sets the maximum amount of time to wait for the request or response body to be read. |
Body |
Gets or sets the maximum number of bytes of the request or response body to read. |
Log |
Gets or sets a value indicating whether the HTTP request and response body are logged. |
Log |
Gets or sets a value indicating whether the HTTP request and response content headers are logged. |
Log |
Gets or sets a value indicating whether the request is logged additionally before any further processing. |
Request |
Gets or sets the list of HTTP request content types which are considered text and thus possible to serialize. |
Request |
Gets or sets the set of HTTP request headers to log and their respective data classifications to use for redaction. |
Request |
Gets or sets a value indicating how the outgoing HTTP request path should be logged. |
Request |
Gets or sets a value indicating how outgoing HTTP request path parameters should be redacted. |
Response |
Gets or sets the list of HTTP response content types which are considered text and thus possible to serialize. |
Response |
Gets or sets the set of HTTP response headers to log and their respective data classifications to use for redaction. |
Route |
Gets or sets the route parameters to redact with their corresponding data classifications to apply appropriate redaction. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produkt | Verzie |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: