ContentWebProxyGetContentAsync - метод
Get system content by access token.
Пространство имён: Tessa.ContentСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task<ContentResult> GetContentAsync(
string type,
string contentID,
string? token,
Guid? userID = null,
Func<IWebProxyContext, ValueTask>? modifyRequestFuncAsync = null,
CancellationToken cancellationToken = default
)
Public Function GetContentAsync (
type As String,
contentID As String,
token As String,
Optional userID As Guid? = Nothing,
Optional modifyRequestFuncAsync As Func(Of IWebProxyContext, ValueTask) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ContentResult)
public:
Task<ContentResult^>^ GetContentAsync(
String^ type,
String^ contentID,
String^ token,
Nullable<Guid> userID = nullptr,
Func<IWebProxyContext^, ValueTask>^ modifyRequestFuncAsync = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
member GetContentAsync :
type : string *
contentID : string *
token : string *
?userID : Nullable<Guid> *
?modifyRequestFuncAsync : Func<IWebProxyContext, ValueTask> *
?cancellationToken : CancellationToken
(* Defaults:
let _userID = defaultArg userID null
let _modifyRequestFuncAsync = defaultArg modifyRequestFuncAsync null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
- type String
- Content type.
- contentID String
- Content unique identifier.
- token String
- Content access token.
- userID NullableGuid (Optional)
- User identifier if any.
- modifyRequestFuncAsync FuncIWebProxyContext, ValueTask (Optional)
- Request modifier function if any.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskContentResultSystem content.