TeamProjectPicker Constructor (TeamProjectPickerMode, Boolean, ICredentialsProvider)
Initializes a new TeamProjectPicker instance.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Декларация
Public Sub New ( _
mode As TeamProjectPickerMode, _
disableCollectionChange As Boolean, _
credentialsProvider As ICredentialsProvider _
)
public TeamProjectPicker(
TeamProjectPickerMode mode,
bool disableCollectionChange,
ICredentialsProvider credentialsProvider
)
public:
TeamProjectPicker(
TeamProjectPickerMode mode,
bool disableCollectionChange,
ICredentialsProvider^ credentialsProvider
)
new :
mode:TeamProjectPickerMode *
disableCollectionChange:bool *
credentialsProvider:ICredentialsProvider -> TeamProjectPicker
public function TeamProjectPicker(
mode : TeamProjectPickerMode,
disableCollectionChange : boolean,
credentialsProvider : ICredentialsProvider
)
Parameters
- mode
Type: Microsoft.TeamFoundation.Client.TeamProjectPickerMode
The mode of operation for the project selection dialog.
- disableCollectionChange
Type: System.Boolean
If true, disables the changing of the default project collection.
- credentialsProvider
Type: Microsoft.TeamFoundation.Client.ICredentialsProvider
The credentials provider to use if the current environment’s credentials fail to authenticate.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.