Delegate
HtmlRenderResourceResolver
OfficeIMO.Html
Asynchronously resolves a policy-approved HTML render resource without prescribing a network or storage dependency.
Inheritance
- MulticastDelegate
- HtmlRenderResourceResolver
Remarks
The resolver must observe cancellation and enforce policy on any redirects it follows. The renderer waits for the callback to return; cancellation does not terminate application code.
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property HtmlRenderOptions.ResourceResolver
- Property HtmlResourceSession.Resolver
- Method HtmlSiteBundle.CreateResourceResolver
Accepted by parameters 1
- Constructor HtmlResourceSession.HtmlResourceSession
Constructors
Methods
public virtual IAsyncResult BeginInvoke(HtmlRenderResourceRequest request, CancellationToken cancellationToken, AsyncCallback callback, object object) #Parameters
- request HtmlRenderResourceRequest
- cancellationToken CancellationToken
- callback AsyncCallback
- object object
Returns
IAsyncResultpublic virtual Task<HtmlResolvedResource?> EndInvoke(IAsyncResult result) #Parameters
- result IAsyncResult
Returns
Task<HtmlResolvedResource?>public virtual Task<HtmlResolvedResource?> Invoke(HtmlRenderResourceRequest request, CancellationToken cancellationToken) #Parameters
- request HtmlRenderResourceRequest
- cancellationToken CancellationToken
Returns
Task<HtmlResolvedResource?>Inherited Methods
public object? DynamicInvoke(params object?[]? args) #Inherited from Delegate
Parameters
- args object?[]?
Returns
object?public override sealed bool Equals(object? obj) #Inherited from MulticastDelegate
Parameters
- obj object?
Returns
boolpublic override sealed Delegate[] GetInvocationList() #Inherited from MulticastDelegate
Returns
Delegate[]public override void GetObjectData(SerializationInfo info, StreamingContext context) #Inherited from MulticastDelegate
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext