OperationManager Class

Represents an auxiliary class used to initializes value managers.

Namespace: Xafari.ManagedOperations
Assembly: Xafari.ManagedOperations (in Xafari.ManagedOperations.dll)

  • c#
  • VB

public class OperationManager : IOperationManager, IDisposable, IObjectSpaceHolder

Public Class OperationManager
  Implements IDisposable, IObjectSpaceHolder, IOperationManager
End Class

Name Description
msdn2017/protmethod OperationManager(IObjectSpace)
msdn2017/pubmethod OperationManager(IObjectSpace, object) Initializes a new instance of the OperationManager class with specific OperationStorage Id.
Top
Name Description
msdn2017/pubproperty CurrentStep ManagedOperation's current step.
msdn2017/pubproperty IsDisposed Gets a value indicating whether the OperationManager has been disposed of.
msdn2017/pubproperty ObjectSpace OperationManager's objectspace.
msdn2017/pubproperty OperationStatus Storage status.
msdn2017/friendproperty OperationStorageId Gets storage Id.
msdn2017/protproperty Storage
msdn2017/pubproperty TotalStep Number of managed operation's steps.
msdn2017/pubproperty UserFullName Gets or sets user's full name.
msdn2017/protproperty UserName
Top
Name Description
msdn2017/pubmethod AddChildProcess(object, Nullable<Int32>) Add subprocess to ManagedOperation's storage.
msdn2017/pubmethod CalculateProgress(ManagedOperationItem, ManagedOperationStatus) Calculate progress of managed operation.
msdn2017/pubmethod Cancel() Cancel managed operation.
msdn2017/pubmethod Cancel(ManagedOperationStatus) Cancel managed operation.
msdn2017/pubmethod Cancel(string, ManagedOperationStatus) Cancel managed operation.
msdn2017/pubmethod Complete(bool, bool) Set managed operation completed.
msdn2017/pubmethod Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
msdn2017/pubmethod msdn2017/static GetConversionMessage(ManagedOperationStatus, ManagedOperationStatus, string, ManagedOperationItem) Get localized message about managed operation's status.
msdn2017/pubmethod LogInfo(int, bool) Write information about managed operation processing into log storage.
msdn2017/pubmethod Resume() Resume managed operation.
msdn2017/pubmethod msdn2017/static SetManagedOperationsTimeExpired(IObjectSpace, int) Stop time expired opearations and return their count.
msdn2017/pubmethod Start() Start managed operation.
msdn2017/pubmethod Suspend() Suspend managed operation.
Top
Name Description
msdn2017/pubextensionmethod GetListValueByTerm<TDetails>(this object, string) Obsolete. (Defined by TypeExtensions).
msdn2017/pubextensionmethod GetValueByTerm<TValue>(this object, string) Obsolete. (Defined by TypeExtensions).
msdn2017/pubextensionmethod IsFinalized(this IOperationManager) Gets a value indicating whether the ManagedOperation has been finalized of. (Defined by IOperationManagerHelper).
msdn2017/pubextensionmethod Session(this object, bool) Obsolete. Returns Session for specified object. (Defined by SessionExtensions).
msdn2017/pubextensionmethod SetValueByTerm<TValue>(this object, string, TValue) Obsolete. (Defined by TypeExtensions).
Top
Name Description
msdn2017/pubfield LogWriteDelay
Top
A value manager is an object which implements the IOperationManager and IObjectSpaceHolder interfaces.

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1