This documentation is archived and is not being maintained.
ILocationService::SetDefaultAccessMapping Method
Visual Studio 2013
Sets the default AccessMapping to the AccessMapping passed in.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Parameters
- accessMapping
- Type: Microsoft.TeamFoundation.Framework.Client::AccessMapping
The AccessMapping that should become the default AccessMapping. This AccessMapping must already be configured with this location service.
| Exception | Condition |
|---|---|
| AccessMappingNotRegisteredException | The AccessMapping being set to the default has not been registered. |
- 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.
Show: