ExchangeServiceResolveName(String, IEnumerableFolderId, ResolveNameSearchLocation, Boolean, PropertySet, CancellationToken) - метод
Finds contacts in the Global Address List and/or in specific contact folders that have names
that match the one passed as a parameter. Calling this method results in a call to EWS.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
public Task<NameResolutionCollection> ResolveName(
string nameToResolve,
IEnumerable<FolderId> parentFolderIds,
ResolveNameSearchLocation searchScope,
bool returnContactDetails,
PropertySet contactDataPropertySet,
CancellationToken token = default
)
Public Function ResolveName (
nameToResolve As String,
parentFolderIds As IEnumerable(Of FolderId),
searchScope As ResolveNameSearchLocation,
returnContactDetails As Boolean,
contactDataPropertySet As PropertySet,
Optional token As CancellationToken = Nothing
) As Task(Of NameResolutionCollection)
public:
Task<NameResolutionCollection^>^ ResolveName(
String^ nameToResolve,
IEnumerable<FolderId^>^ parentFolderIds,
ResolveNameSearchLocation searchScope,
bool returnContactDetails,
PropertySet^ contactDataPropertySet,
CancellationToken token = CancellationToken()
)
member ResolveName :
nameToResolve : string *
parentFolderIds : IEnumerable<FolderId> *
searchScope : ResolveNameSearchLocation *
returnContactDetails : bool *
contactDataPropertySet : PropertySet *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<NameResolutionCollection>
- nameToResolve String
- The name to resolve.
- parentFolderIds IEnumerableFolderId
- The Ids of the contact folders in which to look for matching contacts.
- searchScope ResolveNameSearchLocation
- The scope of the search.
- returnContactDetails Boolean
- Indicates whether full contact information should be returned for each of the found contacts.
- contactDataPropertySet PropertySet
- The property set for the contct details
- token CancellationToken (Optional)
-
TaskNameResolutionCollectionA collection of name resolutions whose names match the one passed as a parameter.