Click or drag to resize
ContactGroupMemberInfoProviderGetAsync 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#
public virtual 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.

Implements

IContactGroupMemberInfoProviderGetAsync(Int32, Int32, ContactGroupMemberTypeEnum, NullableCancellationToken)
See Also