Table of Contents

Interface IPropertyTransaction

Namespace
Jabra.NET.Sdk.Properties
Assembly
Jabra.NET.Sdk.Properties.dll

A transaction instance used to alter the value of one or more properties. The operations added to the transaction only occur when Commit is called.

At this time, no rollback facility is provided and it is up to the caller to handle partially applied transactions on error.

public interface IPropertyTransaction
Extension Methods

Methods

Commit()

Task Commit()

Returns

Task

Execute(string)

IPropertyTransaction Execute(string property)

Parameters

property string

Returns

IPropertyTransaction

MayResetDevice()

Calculates whether committing the transaction may result in a device reset. The caller must handle the device being removed and added back again during its reboot cycle.

bool MayResetDevice()

Returns

bool

true if committing the transaction may result in a device reset

Set(string, PropertyValue)

IPropertyTransaction Set(string property, PropertyValue value)

Parameters

property string
value PropertyValue

Returns

IPropertyTransaction