Complete Method (Object)
Collapse the table of content
Expand the table of content

OperationBase.Complete Method (Object)

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.]

Completes a successful operation with the specified result.

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

protected void Complete(
	Object result
)

Parameters

result
Type: System.Object
The result of the operation.

ExceptionCondition
ArgumentNullException

result is null.

InvalidOperationException

The operation has already completed.

This method invokes the completeAction delegate specified in the constructor.

The System#ComponentModel#INotifyPropertyChanged#PropertyChanged() event is raised for the following properties: IsComplete and CanCancel if CanCancel was true.

Show:
© 2016 Microsoft