C-DEngine 5.105

TheCommCore..::..PublishToFirstNode Method

Use this method to send a message to the first connected node with the given ScopeID The ENG parameter in the TargetMessage will determine the FirstNode of this message will be addressed to. This messsage will NOT be relayed to other nodes

Namespace:  nsCDEngine.Communication
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool PublishToFirstNode(
	string SScopeID,
	TSM TargetMessage
)
Public Shared Function PublishToFirstNode ( _
	SScopeID As String, _
	TargetMessage As TSM _
) As Boolean
public:
static bool^ PublishToFirstNode(
	String^ SScopeID, 
	TSM^ TargetMessage
)

Parameters

SScopeID
Type: String
Scrambled Scope ID
TargetMessage
Type: nsCDEngine.BaseClasses..::..TSM
Message to be sent

Return Value