Udostępnij za pośrednictwem


ODataPayloadKindDetectionResult Class

Represents the result of running payload kind detection for a specified payload kind and format.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataPayloadKindDetectionResult

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataPayloadKindDetectionResult
'Usage
Dim instance As ODataPayloadKindDetectionResult
public sealed class ODataPayloadKindDetectionResult
public ref class ODataPayloadKindDetectionResult sealed
[<SealedAttribute>]
type ODataPayloadKindDetectionResult =  class end
public final class ODataPayloadKindDetectionResult

The ODataPayloadKindDetectionResult type exposes the following members.

Properties

  Name Description
Public property Format Gets or sets the format for the detected payload kind.
Public property PayloadKind Gets or sets the detected payload kind.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class is used to represent the result of running payload kind detection using DetectPayloadKind(). See the documentation of that method for more information.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData Namespace