Click or drag to resize
IContactGroupMemberInfoProviderGetAsync Method (Int32, Int32, ContactGroupMemberTypeEnum, NullableCancellationToken)
Asynchronously gets an instance of the ContactGroupMemberInfo binding structure.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
Task<ContactGroupMemberInfo> GetAsync(
	int contactGroupId,
	int relatedObjectId,
	ContactGroupMemberTypeEnum memberType,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

contactGroupId
Type: SystemInt32
Contact group ID.
relatedObjectId
Type: SystemInt32
Related object ID.
memberType
Type: CMS.ContactManagementContactGroupMemberTypeEnum
Member type.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskContactGroupMemberInfo
Returns a task returning either an instance of ContactGroupMemberInfo corresponding to given identifiers or null.
See Also