OperationBase Class
[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.
Inheritance Hierarchy
System.Object
System.ServiceModel.DomainServices.Client.OperationBase
System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationOperation
System.ServiceModel.DomainServices.Client.InvokeOperation
System.ServiceModel.DomainServices.Client.LoadOperation
System.ServiceModel.DomainServices.Client.SubmitOperation
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public MustInherit Class OperationBase _
Implements INotifyPropertyChanged
'Usage
Dim instance As OperationBase
public abstract class OperationBase : INotifyPropertyChanged
public ref class OperationBase abstract : INotifyPropertyChanged
[<AbstractClassAttribute>]
type OperationBase =
class
interface INotifyPropertyChanged
end
public abstract class OperationBase implements INotifyPropertyChanged
The OperationBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OperationBase | Initializes a new instance of the OperationBase class. |
Top
Properties
Name | Description | |
---|---|---|
CanCancel | Gets a value that indicates whether this OperationBase is currently in a state that enables it to be canceled. | |
Error | Gets the operation error if the operation failed. | |
HasError | Gets a value that indicates whether the operation failed. | |
IsCanceled | Gets a value that indicates whether this operation has been canceled. | |
IsComplete | Gets a value that indicates whether this operation has completed. | |
IsErrorHandled | Gets or sets a value that indicates whether the operation error has been handled. | |
Result | Gets the result of the asynchronous operation. | |
SupportsCancellation | Gets a value that indicates whether this operation supports cancellation. | |
UserState | Gets the optional user state for this operation. |
Top
Methods
Name | Description | |
---|---|---|
Cancel | Cancels the operation. | |
CancelCore | When overridden in a derived class, provides the logic to cancel the operation. | |
Complete(Exception) | Completes a failed operation with the specified error. | |
Complete(Object) | Completes a successful operation with the specified result. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InvokeCompleteAction | Invokes the completion callback. | |
MarkErrorAsHandled | Specifies that an error encountered in an operation is handled. | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged | Called when the value of a property changes. | |
RaisePropertyChanged | Raises the System#ComponentModel#INotifyPropertyChanged#PropertyChanged() event. | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
Completed | Occurs when the operation completes. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
INotifyPropertyChanged.PropertyChanged | Occurs when a property value changes. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.