ReplicaMetadata::CustomReplicaMetadata Property

When overridden in a derived class, gets or sets the custom metadata field that is associated with this replica.

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

public:
virtual property array<unsigned char>^ CustomReplicaMetadata {
	array<unsigned char>^ get () abstract;
	void set (array<unsigned char>^ value) abstract;
}

Property Value

Type: array<System::Byte>
The custom metadata field that is associated with this replica. A nullptr when no custom field has been set.

ExceptionCondition
ObjectDisposedException

The object has been disposed or was not initialized correctly.

The custom metadata field provides a place in which to store information about the replica as a whole.

Show: