C# Класс Hummingbird.Core.ExchangeConnector

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetExternalDistributionListOwner ( string dl, UserCredentials credentials, bool &isValidDl ) : string

Get the owner of an external distribution list.

PerformExchangeRequest ( UserCredentials credentials, string exchangeUrl, string param, ExchangeRequestType requestType, IEnumerable additionalParam = null ) : IExchangeResponse

Core method for performing EWS calls against the Exchange service.

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

Метод Описание
GetBasicAuthFormat ( UserCredentials credentials ) : string

Gets the concatenated username:password string required for the REST request.

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

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

Get the owner of an external distribution list.
public GetExternalDistributionListOwner ( string dl, UserCredentials credentials, bool &isValidDl ) : string
dl string Distribution list name (alias) without the domain.
credentials Hummingbird.Models.UserCredentials User credentials for service access.
isValidDl bool Indicates if there exists a DL with the alias.
Результат string

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

Core method for performing EWS calls against the Exchange service.
public PerformExchangeRequest ( UserCredentials credentials, string exchangeUrl, string param, ExchangeRequestType requestType, IEnumerable additionalParam = null ) : IExchangeResponse
credentials Hummingbird.Models.UserCredentials User credentials.
exchangeUrl string URL to the EWS endpoint.
param string Additional parameters that work with the specific request.
requestType ExchangeRequestType Type of the EWS request.
additionalParam IEnumerable List of additional parameters needed for a request.
Результат IExchangeResponse