Share via


SyncAnchor Constructor (array<Byte )

Initializes a new instance of the SyncAnchor class by using an anchor parameter.

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

Syntax

'Declaration
Public Sub New ( _
    anchor As Byte() _
)
'Usage
Dim anchor As Byte()

Dim instance As New SyncAnchor(anchor)
public SyncAnchor(
    byte[] anchor
)
public:
SyncAnchor(
    array<unsigned char>^ anchor
)
new : 
        anchor:byte[] -> SyncAnchor
public function SyncAnchor(
    anchor : byte[]
)

Parameters

  • anchor
    Type: System.Byte[]
    A byte array that contains the value of the anchor, such as a timestamp value.

Exceptions

Exception Condition
ArgumentException

anchor is longer than 10e6 bytes.

See Also

Reference

SyncAnchor Class

SyncAnchor Overload

Microsoft.Synchronization.Data Namespace