C# Класс NuGet.Services.Work.Client.WorkClient

Показать файл Открыть проект

Открытые методы

Метод Описание
WorkClient ( HttpClient client ) : System

Create a work service client from the specified HttpClient. This client MUST have a valid BaseAddress, as the WorkClient will always use relative URLs to request work service APIs. The BaseAddress should point at the root of the service, NOT at the work service node.

WorkClient ( Uri baseUri ) : System

Create a work service client from the specified base uri and credentials.

WorkClient ( Uri baseUri, ICredentials credentials ) : System

Create a work service client from the specified base uri and credentials.

Приватные методы

Метод Описание
InitializeResources ( ) : void

Описание методов

WorkClient() публичный Метод

Create a work service client from the specified HttpClient. This client MUST have a valid BaseAddress, as the WorkClient will always use relative URLs to request work service APIs. The BaseAddress should point at the root of the service, NOT at the work service node.
public WorkClient ( HttpClient client ) : System
client System.Net.Http.HttpClient The client to use
Результат System

WorkClient() публичный Метод

Create a work service client from the specified base uri and credentials.
public WorkClient ( Uri baseUri ) : System
baseUri System.Uri The URL to the root of the service
Результат System

WorkClient() публичный Метод

Create a work service client from the specified base uri and credentials.
public WorkClient ( Uri baseUri, ICredentials credentials ) : System
baseUri System.Uri The URL to the root of the service
credentials ICredentials The credentials to connect to the service with
Результат System