Click or drag to resize

WSConnectorCreateConnector Method

Create a WSConnector for the given service and function.

Namespace:  IBM.Watson.DeveloperCloud.Connection
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static WSConnector CreateConnector(
	Credentials credentials,
	string function,
	string args
)

Parameters

credentials
Type: IBM.Watson.DeveloperCloud.UtilitiesCredentials
The credentials for the service.
function
Type: SystemString
The name of the function to connect.
args
Type: SystemString
Additional function arguments.

Return Value

Type: WSConnector
The WSConnector object or null or error.
See Also