Click or drag to resize
IssueInfoProviderGetAsync Method (Guid, Int32, NullableCancellationToken)
Asynchronously gets an instance of info object based on its GUID and site ID.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
public override Task<IssueInfo> GetAsync(
	Guid guid,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

guid
Type: SystemGuid
GUID of the info object to look for.
siteId
Type: SystemInt32
ID of the site to which to constrain the lookup.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskIssueInfo
Returns a task returning either an instance of IssueInfo corresponding to guid and siteId or null.

Implements

IInfoBySiteAndGuidProviderTInfoGetAsync(Guid, Int32, NullableCancellationToken)
IInfoBySiteAndGuidProviderTInfoGetAsync(Guid, Int32, NullableCancellationToken)
See Also