SynchronizableInvokeRemoteMethod(Int32, Object) Method

Commits method with the SynchronizableMethod attribute on evey client excluding sender with given parameters.

Definition

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

Parameters

id  Int32  (Optional)
Id of method. Get the id by calling GetMethodAttributeId(string).
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