Class EndpointContentResult<TContent>
Defines the result returned from all Web-based, boundary-crossing Activities.
public record EndpointContentResult<TContent> : EndpointResult, IEquatable<EndpointResult>, IEquatable<EndpointContentResult<TContent>>
Type Parameters
TContentthe type of the content returned in the response
- Inheritance
-
EndpointContentResult<TContent>
- Implements
-
IEquatable<EndpointContentResult<TContent>>
- Inherited Members
- Extension Methods
Constructors
EndpointContentResult(HttpStatusCode, string?, string?, TContent?)
Defines the result returned from all Web-based, boundary-crossing Activities.
public EndpointContentResult(HttpStatusCode HttpStatusCode, string? RequestId, string? ResponseMessage, TContent? Content)
Parameters
HttpStatusCodeHttpStatusCodethe HttpStatusCode
RequestIdstringthe identifier of the request
ResponseMessagestringany message associated with the request
ContentTContentany content associated with the response
Properties
Content
any content associated with the response
public TContent? Content { get; init; }
Property Value
- TContent