SaveChangeWithChangeUnitsContext.GetActionForChangeUnit Method
Gets the action to use when the specified change unit change is being saved.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function GetActionForChangeUnit ( _
changeUnitChange As ChangeUnitChange _
) As SaveChangeAction
'Usage
Dim instance As SaveChangeWithChangeUnitsContext
Dim changeUnitChange As ChangeUnitChange
Dim returnValue As SaveChangeAction
returnValue = instance.GetActionForChangeUnit(changeUnitChange)
public SaveChangeAction GetActionForChangeUnit(
ChangeUnitChange changeUnitChange
)
public:
SaveChangeAction GetActionForChangeUnit(
ChangeUnitChange^ changeUnitChange
)
member GetActionForChangeUnit :
changeUnitChange:ChangeUnitChange -> SaveChangeAction
public function GetActionForChangeUnit(
changeUnitChange : ChangeUnitChange
) : SaveChangeAction
Parameters
- changeUnitChange
Type: Microsoft.Synchronization.ChangeUnitChange
The change unit change to be saved.
Return Value
Type: Microsoft.Synchronization.SaveChangeAction
The action to use when the specified change unit change is being saved.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | changeUnitChange is a null reference (Nothing in Visual Basic). |
ArgumentException | changeUnitChange is not valid. |