HttpCommandResultContext Class
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.
Context passed to callback to configure ExecuteCommandResult when using WithHttpCommand<TResource>(IResourceBuilder<TResource>, String, String, String, String, HttpCommandOptions) or WithHttpCommand<TResource>(IResourceBuilder<TResource>, String, String, Func<EndpointReference>, String, HttpCommandOptions).
public sealed class HttpCommandResultContext
type HttpCommandResultContext = class
Public NotInheritable Class HttpCommandResultContext
- Inheritance
-
HttpCommandResultContext
Constructors
HttpCommandResultContext() |
Properties
CancellationToken |
The cancellation token. |
Endpoint |
The endpoint the request is targeting. |
HttpClient |
The HTTP client that was used for the request. |
ResourceName |
The name of the resource the command was configured on. |
Response |
The HTTP response message. |
ServiceProvider |
The service provider. |