ServicePRO SDK Help

ServiceRetriever<(Of <(<'TServiceType>)>)>..::..GetService Method

Creates a channelfactory of the type specified.

Namespace:  ServicePRO.Sdk.Windows
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public static TServiceType GetService(
	string address,
	bool useCache,
	bool useLongRunTimeout
)
Public Shared Function GetService ( _
	address As String, _
	useCache As Boolean, _
	useLongRunTimeout As Boolean _
) As TServiceType

Parameters

address
Type: String
The uri to the service
useCache
Type: Boolean
useLongRunTimeout
Type: Boolean

Return Value

Instance of the service type