BuildMaster SDK Reference
Version:

GetProviderTypeCode(System.Type providerType, bool throwException) Method

Returns a provider created based on its System.Type.

Syntax

public static string GetProviderTypeCode(System.Type providerType, bool throwException)

Parameters

providerType
Type: System.Type

The type of the provider.

throwException
Type: bool

Value indicating whether an exception should be thrown if the provider cannot be created.

Returns

Newly-created provider.