Click or drag to resize
VersionAttachmentInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the VersionAttachmentInfo binding structure.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public virtual Task<VersionAttachmentInfo> GetAsync(
	int versionHistoryId,
	int attachmentHistoryId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

versionHistoryId
Type: SystemInt32
Version history ID.
attachmentHistoryId
Type: SystemInt32
Attachment history ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskVersionAttachmentInfo
Returns a task returning either an instance of VersionAttachmentInfo corresponding to given identifiers or null.

Implements

IVersionAttachmentInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also