Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQueryGetInfoByGuidAsync Method (Guid, Boolean, CancellationToken)
Asynchronously gets an instance of info object based on the given GUID.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual Task<TInfo> GetInfoByGuidAsync(
	Guid guid,
	bool useHashtable,
	CancellationToken cancellationToken
)

Parameters

guid
Type: SystemGuid
Object GUID
useHashtable
Type: SystemBoolean
If true, the object is taken through the hashtable
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskTInfo
See Also