TempFileLinkProviderGetFileVersionContentAsync - метод

Get file version content for given access token.

Definition

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

Параметры

token  String
File version access token.
fileVersionID  Guid
File version identifier.
fileTypeName  String  (Optional)
File type name.
isVirtual  Boolean  (Optional)
File is virtual or not.
fileID  NullableGuid  (Optional)
Optional file identifier.
userID  NullableGuid  (Optional)
Optional user identifier. Priority is given for user identifier stored in token.
cardID  NullableGuid  (Optional)
Optional card identifier. Priority is given for user identifier stored in token.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskContentResult
File version content.

Реализации

ITempFileLinkProviderGetFileVersionContentAsync(String, Guid, String, Boolean, NullableGuid, NullableGuid, NullableGuid, CancellationToken)

См. также