Click or drag to resize

ConnectionArgsFromUrlParseResult Method

Constructs a new instance of ConnectionArgs from connection string parsing results and a port, validating them in the process.

Namespace:  SoftGear.Strix.Unity.Runtime
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public static ConnectionArgs FromUrlParseResult(
	UrlParseResult urlParseResult,
	int port
)

Parameters

urlParseResult
Type: SoftGear.Strix.Unity.RuntimeUrlParseResult
Result of the connection string parsing.
port
Type: SystemInt32
Port number. Used only when scheme is not specified.

Return Value

Type: ConnectionArgs
Valid connection arguments.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if connection string parsing results could not be validated.
See Also