IOperationInvoker Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class IOperationInvoker
public interface IOperationInvoker
type IOperationInvoker = interface
Public Interface IOperationInvoker
- Derived
Remarks
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.
Properties
IsSynchronous |
Gets a value that specifies whether the Invoke(Object, Object[], Object[]) or InvokeBegin(Object, Object[], AsyncCallback, Object) method is called by the dispatcher. |
Methods
AllocateInputs() |
Returns an Array of parameter objects. |
Invoke(Object, Object[], Object[]) |
Returns an object and a set of output objects from an instance and set of input objects. |
InvokeBegin(Object, Object[], AsyncCallback, Object) |
An asynchronous implementation of the Invoke(Object, Object[], Object[]) method. |
InvokeEnd(Object, Object[], IAsyncResult) |
The asynchronous end method. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기