MembershipInfoProviderGetInfoByCodeNameAsync Method (String, Int32, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given code name.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax protected override Task<MembershipInfo> GetInfoByCodeNameAsync(
string codeName,
int siteId,
bool useHashtable,
CancellationToken cancellationToken
)
Parameters
- codeName
- Type: SystemString
Code name - siteId
- Type: SystemInt32
Site ID - useHashtable
- Type: SystemBoolean
If true, the object is taken through the hashtable - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation instruction.
Return Value
Type:
TaskMembershipInfoSee Also