ITempFileLinkProviderGetFileContentAsync - метод

Get file content for given access token.

Definition

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

Параметры

token  String
File access token.
fileID  Guid
File identifier.
fileTypeName  String  (Optional)
File type name.
isVirtual  Boolean  (Optional)
File is virtual or not.
fileVersionID  NullableGuid  (Optional)
Optional file version 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 content.

См. также