ContractVersionAttribute ContractVersionAttribute ContractVersionAttribute ContractVersionAttribute ContractVersionAttribute Constructors

Definition

Overloads

ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32)

Creates and initializes a new instance of the attribute.

ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32)

Creates and initializes a new instance of the attribute.

ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32)

Creates and initializes a new instance of the attribute.

ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32) ContractVersionAttribute(String, UInt32)

Creates and initializes a new instance of the attribute.

public : ContractVersionAttribute(Platform::String contract, unsigned int version)
ContractVersionAttribute(winrt::hstring contract, uint32_t version) const;
public ContractVersionAttribute(String contract, UInt32 version)
Public Sub New(contract As String, version As UInt32)
var contractVersionAttribute = new contractVersionAttribute(contract, version);

Parameters

contract
String String String

The type to associate with the API contract.

version
UInt32 UInt32 UInt32

The version of the API contract.

Remarks

This constructor applies to a type with the ApiContractAttribute and specifies the contract version of that API contract.

ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32) ContractVersionAttribute(Type, UInt32)

Creates and initializes a new instance of the attribute.

public : ContractVersionAttribute(Platform::Type contract, unsigned int version)
ContractVersionAttribute(Type contract, uint32_t version) const;
public ContractVersionAttribute(Type contract, UInt32 version)
Public Sub New(contract As Type, version As UInt32)
var contractVersionAttribute = new contractVersionAttribute(contract, version);

Parameters

contract
Type Type Type

The type to associate with the API contract.

version
UInt32 UInt32 UInt32

The version of the API contract.

Remarks

This constructor applies to any type that does not have the ApiContractAttribute and indicates the API contract version in which this type was added to the specified API contract.

ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32) ContractVersionAttribute(UInt32)

Creates and initializes a new instance of the attribute.

public : ContractVersionAttribute(unsigned int version)
ContractVersionAttribute(uint32_t version) const;
public ContractVersionAttribute(UInt32 version)
Public Sub New(version As UInt32)
var contractVersionAttribute = new contractVersionAttribute(version);

Parameters

version
UInt32 UInt32 UInt32

The version of the API contract.