Invokes the delegate remotely at the control. All parameters and the return value need to be serializable.
| C# | Visual Basic | Visual C++ |
public Object InvokeRemotely( RemotelyInvokedDelegate deleg )
Public Function InvokeRemotely ( _ deleg As RemotelyInvokedDelegate _ ) As Object
public: Object^ InvokeRemotely( RemotelyInvokedDelegate^ deleg )
- deleg (RemotelyInvokedDelegate)
- The delegate to invoke at the remote control.
The (serializable) return value of the remotely invoked delegate.
| Exception | Condition |
|---|---|
| ActionFailedException | Thrown if invoking the action failed. |
