Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Execution Inheritance: System.ObjectSyntax
Summary
The HTTP result of an OData call.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Body
Gets or sets the response body.Syntax
Property Value
Type:string
BodyStream
Gets or sets the response body stream when the executor kept the OData output as written.Syntax
Property Value
Type:System.IO.Stream?
Remarks
Prefer this over ODataExecuteResult.Body for in-process success. Do not dispose it; the executor owns it.IsSuccess
Gets or sets a value indicating whether the status code is success.Syntax
Property Value
Type:bool
MediaType
Gets or sets the response media type.Syntax
Property Value
Type:string?
RetryAfter
Gets or sets theRetry-After header, when the service sent one.
Syntax
Property Value
Type:string?
StatusCode
Gets or sets the HTTP status code.Syntax
Property Value
Type:int
WwwAuthenticate
Gets or sets rawWWW-Authenticate header values, when the service sent any.
Syntax
Property Value
Type:System.Collections.Generic.IReadOnlyList<string>
Remarks
Values are unparsed challenge strings. OAuth interpretation lives outside Core.Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
FromHttp
Copies status, body, media type, andRetry-After from an HTTP response.
Syntax
Parameters
Returns
Type:Microsoft.OData.Mcp.Core.Execution.ODataExecuteResult
The execute result.
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?