Share via


SyncId Constructor (String)

Initializes a new instance of the SyncId class that contains the specified ID.

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

Syntax

'Declaration
Public Sub New ( _
    id As String _
)
'Usage
Dim id As String

Dim instance As New SyncId(id)
public SyncId(
    string id
)
public:
SyncId(
    String^ id
)
new : 
        id:string -> SyncId
public function SyncId(
    id : String
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

id is an empty string or is a null reference (Nothing in Visual Basic).

Remarks

This form of the constructor creates a variable-length ID with an array containing id encoded in big-endian order with no Unicode byte order mark.

See Also

Reference

SyncId Class

SyncId Overload

Microsoft.Synchronization Namespace