AbstractInfoProviderTInfo, TProvider, TQueryGetInfoByGuidAsync Method (Guid, Int32, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the GUID.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax protected virtual Task<TInfo> GetInfoByGuidAsync(
Guid guid,
int siteId,
bool useHashtable,
CancellationToken cancellationToken
)
Parameters
- guid
- Type: SystemGuid
GUID of the object - 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:
TaskTInfoSee Also