DomainService.Invoke Method

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

Invokes the specified operation.

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

public virtual Object Invoke(
	InvokeDescription invokeDescription,
	out IEnumerable<ValidationResult> validationErrors


Type: System.ServiceModel.DomainServices.Server.InvokeDescription
The description of the invoke operation to perform.
Type: System.Collections.Generic.IEnumerable<ValidationResult>%
An output parameter collection to which any validation errors will be added. This will be set to null if no validation errors are encountered.

Return Value

Type: System.Object
The return value of the invoked operation.