Share via


DomainService.Invoke Method

[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)

Syntax

'Declaration
Public Overridable Function Invoke ( _
    invokeDescription As InvokeDescription, _
    <OutAttribute> ByRef validationErrors As IEnumerable(Of ValidationResult) _
) As Object
'Usage
Dim instance As DomainService
Dim invokeDescription As InvokeDescription
Dim validationErrors As IEnumerable(Of ValidationResult)
Dim returnValue As Object

returnValue = instance.Invoke(invokeDescription, _
    validationErrors)
public virtual Object Invoke(
    InvokeDescription invokeDescription,
    out IEnumerable<ValidationResult> validationErrors
)
public:
virtual Object^ Invoke(
    InvokeDescription^ invokeDescription, 
    [OutAttribute] IEnumerable<ValidationResult^>^% validationErrors
)
abstract Invoke : 
        invokeDescription:InvokeDescription * 
        validationErrors:IEnumerable<ValidationResult> byref -> Object 
override Invoke : 
        invokeDescription:InvokeDescription * 
        validationErrors:IEnumerable<ValidationResult> byref -> Object 
public function Invoke(
    invokeDescription : InvokeDescription, 
    validationErrors : IEnumerable<ValidationResult>
) : Object

Parameters

Return Value

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

See Also

Reference

DomainService Class

System.ServiceModel.DomainServices.Server Namespace