AttributesSyncInvokeRemoteMethod(Int32, UInt16, Object) Method

Invoke a method with the SynchronizableMethod attribute on target user with given parameters.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public void InvokeRemoteMethod(
	int id = 0,
	ushort user = 65535,
	params Object[] parameters
)

Parameters

id  Int32  (Optional)
Id of method. Get the id by calling GetMethodAttributeId(string).
user  UInt16  (Optional)
target user
parameters  Object
Argument(s) of a target method

Exceptions

IndexOutOfRangeExceptionThrown when id is grater or equal to the amount of registered methods
ArgumentExceptionThrown when parameters count of target method does not match count of given parameters

See Also