IOperationInvoker Interface


Declares methods that take an object and an array of parameters extracted from a message, invoke a method on that object with those parameters, and return the method's return value and output parameters.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public interface IOperationInvoker


Gets a value that specifies whether the Invoke or InvokeBegin method is called by the dispatcher.


Returns an System.Array of parameter objects.

System_CAPS_pubmethodInvoke(Object, Object[], Object[])

Returns an object and a set of output objects from an instance and set of input objects.

System_CAPS_pubmethodInvokeBegin(Object, Object[], AsyncCallback, Object)

An asynchronous implementation of the Invoke method.

System_CAPS_pubmethodInvokeEnd(Object, Object[], IAsyncResult)

The asynchronous end method.

Implement the IOperationInvoker interface to control the conversion from an untyped object and array of parameters to a strongly-typed method call on that object. It has a synchronous Invoke method, which takes an instance and set of inputs of type object and returns an object and a set of outputs of type object. It also has a InvokeBegin and InvokeEnd variant. The IsSynchronous property specifies whether the synchronous or asynchronous method should be used.

.NET Framework
Available since 3.0
Return to top