DataAccessTask<TDataObject>.ResolveIdParameterCollection<TIdParameter, TObject, TResult> Method (IEnumerable<TIdParameter>, IConfigDataProvider, ObjectId, OptionalIdentityData, , Func<IIdentityParameter, LocalizedString>, Func<IIdentityParameter, LocalizedString>, Func<IConfigurable, TResult>, Func<IConfigurable, IConfigurable>)
Namespace: Microsoft.Exchange.Configuration.Tasks
Assembly: Microsoft.Exchange.Configuration.ObjectModel (in Microsoft.Exchange.Configuration.ObjectModel.dll)
Syntax
'Declaration
Protected Function ResolveIdParameterCollection(Of TIdParameter As IIdentityParameter, TObject As {New, IConfigurable}, TResult) ( _
idParameters As IEnumerable(Of TIdParameter), _
session As IConfigDataProvider, _
rootId As ObjectId, _
optionalData As OptionalIdentityData, _
errorCategory As ExchangeErrorCategory, _
parameterToNotFoundError As Func(Of IIdentityParameter, LocalizedString), _
parameterToMultipleFoundError As Func(Of IIdentityParameter, LocalizedString), _
convertToResult As Func(Of IConfigurable, TResult), _
validateObject As Func(Of IConfigurable, IConfigurable) _
) As MultiValuedProperty(Of TResult)
'Usage
Dim idParameters As IEnumerable(Of TIdParameter)
Dim session As IConfigDataProvider
Dim rootId As ObjectId
Dim optionalData As OptionalIdentityData
Dim errorCategory As ExchangeErrorCategory
Dim parameterToNotFoundError As Func(Of IIdentityParameter, LocalizedString)
Dim parameterToMultipleFoundError As Func(Of IIdentityParameter, LocalizedString)
Dim convertToResult As Func(Of IConfigurable, TResult)
Dim validateObject As Func(Of IConfigurable, IConfigurable)
Dim returnValue As MultiValuedProperty(Of TResult)
returnValue = Me.ResolveIdParameterCollection(idParameters, _
session, rootId, optionalData, errorCategory, _
parameterToNotFoundError, parameterToMultipleFoundError, _
convertToResult, validateObject)
protected MultiValuedProperty<TResult> ResolveIdParameterCollection<TIdParameter, TObject, TResult>(
IEnumerable<TIdParameter> idParameters,
IConfigDataProvider session,
ObjectId rootId,
OptionalIdentityData optionalData,
ExchangeErrorCategory errorCategory,
Func<IIdentityParameter, LocalizedString> parameterToNotFoundError,
Func<IIdentityParameter, LocalizedString> parameterToMultipleFoundError,
Func<IConfigurable, TResult> convertToResult,
Func<IConfigurable, IConfigurable> validateObject
)
where TIdParameter : IIdentityParameter
where TObject : new(), IConfigurable
Type Parameters
- TIdParameter
- TObject
- TResult
Parameters
- idParameters
Type: System.Collections.Generic.IEnumerable<TIdParameter>
- session
Type: Microsoft.Exchange.Data.IConfigDataProvider
- rootId
Type: Microsoft.Exchange.Data.ObjectId
- optionalData
Type: Microsoft.Exchange.Configuration.Tasks.OptionalIdentityData
- errorCategory
Type: ExchangeErrorCategory
- parameterToNotFoundError
Type: System.Func<IIdentityParameter, LocalizedString>
- parameterToMultipleFoundError
Type: System.Func<IIdentityParameter, LocalizedString>
- convertToResult
Type: System.Func<IConfigurable, TResult>
- validateObject
Type: System.Func<IConfigurable, IConfigurable>
Return Value
Type: Microsoft.Exchange.Data.MultiValuedProperty<TResult>