OperationBase Class

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Represents an asynchronous operation.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

public abstract class OperationBase : INotifyPropertyChanged

The OperationBase type exposes the following members.

  NameDescription
Protected methodOperationBaseInitializes a new instance of the OperationBase class.
Top

  NameDescription
Public propertyCanCancelGets a value that indicates whether this OperationBase is currently in a state that enables it to be canceled.
Public propertyErrorGets the operation error if the operation failed.
Public propertyHasErrorGets a value that indicates whether the operation failed.
Public propertyIsCanceledGets a value that indicates whether this operation has been canceled.
Public propertyIsCompleteGets a value that indicates whether this operation has completed.
Public propertyIsErrorHandledGets or sets a value that indicates whether the operation error has been handled.
Protected propertyResultGets the result of the asynchronous operation.
Protected propertySupportsCancellationGets a value that indicates whether this operation supports cancellation.
Public propertyUserStateGets the optional user state for this operation.
Top

  NameDescription
Public methodCancelCancels the operation.
Protected methodCancelCoreWhen overridden in a derived class, provides the logic to cancel the operation.
Protected methodComplete(Exception)Completes a failed operation with the specified error.
Protected methodComplete(Object)Completes a successful operation with the specified result.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodInvokeCompleteActionInvokes the completion callback.
Public methodMarkErrorAsHandledSpecifies that an error encountered in an operation is handled.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnPropertyChangedCalled when the value of a property changes.
Protected methodRaisePropertyChangedRaises the System#ComponentModel#INotifyPropertyChanged#PropertyChanged() event.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCompletedOccurs when the operation completes.
Top

  NameDescription
Explicit interface implemetationPrivate eventINotifyPropertyChanged.PropertyChangedOccurs when a property value changes.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: