IOperationInvoker.AllocateInputs Method ()


Returns an System.Array of parameter objects.

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

object[] AllocateInputs()

Return Value

Type: System.Object[]

The parameters that are to be used as arguments to the operation.

.NET Framework
Available since 3.0

An implementation of this method must allocate the input array on every call. Returning the same array for multiple calls can result in unpredictable behavior.

Implement this to return an array of parameters for the operation. This array is filled by the formatter and passed back to the invoker when Invoke is called.

Return to top