Delen via


PreviousContractVersionAttribute Constructors

Definition

Overloads

PreviousContractVersionAttribute(String, UInt32, UInt32)

Creates and initializes a new instance of the attribute.

PreviousContractVersionAttribute(Type, UInt32, UInt32)

Creates and initializes a new instance of the attribute.

PreviousContractVersionAttribute(String, UInt32, UInt32, String)

Creates and initializes a new instance of the attribute.

PreviousContractVersionAttribute(Type, UInt32, UInt32, Type)

Creates and initializes a new instance of the attribute.

PreviousContractVersionAttribute(String, UInt32, UInt32)

Creates and initializes a new instance of the attribute.

public:
 PreviousContractVersionAttribute(Platform::String ^ contract, unsigned int versionLow, unsigned int versionHigh);
 PreviousContractVersionAttribute(winrt::hstring const& contract, uint32_t const& versionLow, uint32_t const& versionHigh);
public PreviousContractVersionAttribute(string contract, uint versionLow, uint versionHigh);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh)
Public Sub New (contract As String, versionLow As UInteger, versionHigh As UInteger)

Parameters

contract
String

Platform::String

winrt::hstring

The name of the previous contract.

versionLow
UInt32

unsigned int

uint32_t

The first version of the previous contract to which the type was associated.

versionHigh
UInt32

unsigned int

uint32_t

The last version of the previous contract to which the type was associated.

See also

Applies to

PreviousContractVersionAttribute(Type, UInt32, UInt32)

Creates and initializes a new instance of the attribute.

public:
 PreviousContractVersionAttribute(Platform::Type ^ contract, unsigned int versionLow, unsigned int versionHigh);
public PreviousContractVersionAttribute(Type contract, uint versionLow, uint versionHigh);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh)
Public Sub New (contract As Type, versionLow As UInteger, versionHigh As UInteger)

Parameters

contract
TypeName Type

The name of the previous contract.

versionLow
UInt32

unsigned int

The first version of the previous contract to which the type was associated.

versionHigh
UInt32

unsigned int

The last version of the previous contract to which the type was associated.

Applies to

PreviousContractVersionAttribute(String, UInt32, UInt32, String)

Creates and initializes a new instance of the attribute.

public:
 PreviousContractVersionAttribute(Platform::String ^ contract, unsigned int versionLow, unsigned int versionHigh, Platform::String ^ newContract);
 PreviousContractVersionAttribute(winrt::hstring const& contract, uint32_t const& versionLow, uint32_t const& versionHigh, winrt::hstring const& newContract);
public PreviousContractVersionAttribute(string contract, uint versionLow, uint versionHigh, string newContract);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh, newContract)
Public Sub New (contract As String, versionLow As UInteger, versionHigh As UInteger, newContract As String)

Parameters

contract
String

Platform::String

winrt::hstring

The name of the previous contract.

versionLow
UInt32

unsigned int

uint32_t

The first version of the previous contract to which the type was associated.

versionHigh
UInt32

unsigned int

uint32_t

The last version of the previous contract to which the type was associated.

newContract
String

Platform::String

winrt::hstring

The name of the new contract to which the type is associated.

See also

Applies to

PreviousContractVersionAttribute(Type, UInt32, UInt32, Type)

Creates and initializes a new instance of the attribute.

public:
 PreviousContractVersionAttribute(Platform::Type ^ contract, unsigned int versionLow, unsigned int versionHigh, Platform::Type ^ newContract);
public PreviousContractVersionAttribute(Type contract, uint versionLow, uint versionHigh, Type newContract);
function PreviousContractVersionAttribute(contract, versionLow, versionHigh, newContract)
Public Sub New (contract As Type, versionLow As UInteger, versionHigh As UInteger, newContract As Type)

Parameters

contract
TypeName Type

The name of the previous contract.

versionLow
UInt32

unsigned int

The first version of the previous contract to which the type was associated.

versionHigh
UInt32

unsigned int

The last version of the previous contract to which the type was associated.

newContract
TypeName Type

The type of the new contract to which the type is associated.

See also

Applies to