Export (0) Print
Expand All

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

The IOperationInvoker type exposes the following members.

  NameDescription
Public propertyIsSynchronousGets a value that specifies whether the Invoke or InvokeBegin method is called by the dispatcher.
Top

  NameDescription
Public methodAllocateInputsReturns an System.Array of parameter objects.
Public methodInvokeReturns an object and a set of output objects from an instance and set of input objects.
Public methodInvokeBeginAn asynchronous implementation of the Invoke method.
Public methodInvokeEndThe asynchronous end method.
Top

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft