Share via


OperationResult Class

Represents a standard container for all operation responses that includes a list of errors.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.OperationResult

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "OperationResult", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class OperationResult _
    Inherits DataContractBase
'Usage
Dim instance As OperationResult
[DataContractAttribute(Name = "OperationResult", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class OperationResult : DataContractBase
[DataContractAttribute(Name = L"OperationResult", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class OperationResult : public DataContractBase
[<DataContractAttribute(Name = "OperationResult", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type OperationResult =  
    class 
        inherit DataContractBase 
    end
public class OperationResult extends DataContractBase

The OperationResult type exposes the following members.

Constructors

  Name Description
Public method OperationResult Initializes a new instance of the OperationResult class.

Top

Properties

  Name Description
Public property Errors Gets or sets the errors associated with the request.
Public property RequestId Gets or sets a unique identifier for the request. Used for tracking and logging purposes.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

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.MasterDataServices.Services.DataContracts Namespace