Click or drag to resize
ContactGroupMemberInfoProvider.GetAsync Method (Int32, Int32, ContactGroupMemberTypeEnum, Nullable<CancellationToken>)
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: System.Int32
Contact group ID.
relatedObjectId
Type: System.Int32
Related object ID.
memberType
Type: CMS.ContactManagement.ContactGroupMemberTypeEnum
Member type.
cancellationToken (Optional)
Type: System.Nullable<CancellationToken>
The cancellation instruction.

Return Value

Type: Task<ContactGroupMemberInfo>
Returns a task returning either an instance of ContactGroupMemberInfo corresponding to given identifiers or null.

Implements

IContactGroupMemberInfoProvider.GetAsync(Int32, Int32, ContactGroupMemberTypeEnum, Nullable<CancellationToken>)
See Also