Class LazyTransportBinding
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Behaviors.Http
Assembly: Cephalon.Behaviors.Http.dll
Deferred-initialization wrapper around an
public sealed class LazyTransportBinding : IDisposableInheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”Dispose()
Section titled “ Dispose()”Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()EnsureMappedAsync(WebApplication, BehaviorTopologyDescriptor, BehaviorDispatcher, IHttpBehaviorBinding, CancellationToken)
Section titled “ EnsureMappedAsync(WebApplication, BehaviorTopologyDescriptor, BehaviorDispatcher, IHttpBehaviorBinding, CancellationToken)”Ensures the binding has been mapped. If not yet mapped, calls
public Task EnsureMappedAsync(WebApplication app, BehaviorTopologyDescriptor descriptor, BehaviorDispatcher dispatcher, IHttpBehaviorBinding binding, CancellationToken ct = default)Parameters
Section titled “Parameters”app WebApplication
The web application to register routes on.
descriptor BehaviorTopologyDescriptor
The behavior topology descriptor.
dispatcher BehaviorDispatcher
The behavior dispatcher.
binding IHttpBehaviorBinding
The concrete transport binding to initialize.
Cancellation token threaded from the caller.
Returns
Section titled “Returns”A task that completes when the binding is ready.