LocationHttpClient Constructor (Uri, VssCredentials)
Namespace: Microsoft.VisualStudio.Services.Location.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
baseUrl As Uri, _
credentials As VssCredentials _
)
public LocationHttpClient(
Uri baseUrl,
VssCredentials credentials
)
public:
LocationHttpClient(
Uri^ baseUrl,
VssCredentials^ credentials
)
new :
baseUrl:Uri *
credentials:VssCredentials -> LocationHttpClient
public function LocationHttpClient(
baseUrl : Uri,
credentials : VssCredentials
)
Parameters
- baseUrl
Type: System.Uri
- credentials
Type: Microsoft.VisualStudio.Services.Common.VssCredentials
.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.