Click or drag to resize

ReplicatorConfiguration Constructor

Constructs a new builder object with the required properties

Namespace:  Couchbase.Lite.Sync
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.1.0-b0232
Syntax
C#
public ReplicatorConfiguration(
	Database database,
	IEndpoint target
)

Parameters

database
Type: Couchbase.LiteDatabase
The database that will serve as the local side of the replication
target
Type: Couchbase.Lite.SyncIEndpoint
The endpoint to replicate to, either local or remote
Exceptions
ExceptionCondition
ArgumentExceptionThrown if an unsupported IEndpoint implementation is provided as target
See Also