TempFileLinkProviderCreateFileVersionAccessLinkAsync - метод

Create temporary link to access a given file version.

Definition

Пространство имён: Tessa.Content.Files
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public Task<string> CreateFileVersionAccessLinkAsync(
	Guid cardID,
	Guid fileID,
	Guid fileVersionID,
	string? fileTypeName = null,
	bool isVirtual = false,
	TimeSpan? lifetime = null,
	bool forClient = true,
	CancellationToken cancellationToken = default
)

Параметры

cardID  Guid
Card identifier.
fileID  Guid
File identifier.
fileVersionID  Guid
File version identifier.
fileTypeName  String  (Optional)
File type name.
isVirtual  Boolean  (Optional)
File is virtual or not.
lifetime  NullableTimeSpan  (Optional)
Desired token lifetime. May be null for "infinite" or "undefined" lifetime.
forClient  Boolean  (Optional)
Flag for client link generation.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskString
Temporary link to access a given file version.

Реализации

ITempFileLinkProviderCreateFileVersionAccessLinkAsync(Guid, Guid, Guid, String, Boolean, NullableTimeSpan, Boolean, CancellationToken)

См. также