Share via


TransactionAnnotationsGetRequest Class

Represents a complex type that specifies details of what is requested.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.MessageContracts.MessageRequest
    Microsoft.MasterDataServices.Services.MessageContracts.TransactionAnnotationsGetRequest

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

Syntax

'Declaration
<MessageContractAttribute> _
Public Class TransactionAnnotationsGetRequest _
    Inherits MessageRequest
'Usage
Dim instance As TransactionAnnotationsGetRequest
[MessageContractAttribute]
public class TransactionAnnotationsGetRequest : MessageRequest
[MessageContractAttribute]
public ref class TransactionAnnotationsGetRequest : public MessageRequest
[<MessageContractAttribute>]
type TransactionAnnotationsGetRequest =  
    class 
        inherit MessageRequest 
    end
public class TransactionAnnotationsGetRequest extends MessageRequest

The TransactionAnnotationsGetRequest type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property International Gets or sets the client localization information. (Inherited from MessageRequest.)
Public property TransactionId Gets or sets the ID of the transaction to which the annotations belong.

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.)
Public method ToString (Inherited from Object.)

Top

Remarks

Starting in SQL Server 2012 R2, TransactionAnnotationsGetRequest requires a model ID in the request:

TransactionAnnotationsGetRequest getRequest = new TransactionAnnotationsGetRequest();
getRequest.TransactionId = targetTransaction.Id;
getRequest.ModelId = targetTransaction.ModelId; // ModelId is required now.
TransactionAnnotationsGetResponse getResponse = ApiUtilities.ServicesApiUtility.MdsService.TransactionAnnotationsGet(getRequest);

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.MessageContracts Namespace