C-DEngine 5.105

TheQueuedSenderRegistry..::..ConnectToUnconfiguredRelayAsync Method

Connects to an unconfigured Node

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

Syntax


public static Task<Guid> ConnectToUnconfiguredRelayAsync(
	Guid nodeId,
	string targetUrl,
	CancellationToken token
)
Public Shared Function ConnectToUnconfiguredRelayAsync ( _
	nodeId As Guid, _
	targetUrl As String, _
	token As CancellationToken _
) As Task(Of Guid)
public:
static Task<Guid^>^ ConnectToUnconfiguredRelayAsync(
	Guid^ nodeId, 
	String^ targetUrl, 
	CancellationToken^ token
)

Parameters

nodeId
Type: Guid
DeviceID of the node to connect to
targetUrl
Type: String
URL of the Node to connect to
token
Type: CancellationToken
Cancellation token to stop connection if running to long

Return Value