Show / Hide Table of Contents

Class AspNetAppShutdownAwaiter

An ASP net application shutdown awaiter.

Inheritance
System.Object
AspNetAppShutdownAwaiter
Implements
IAppShutdownAwaiter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Application.AspNetCore.Application
Assembly: Kephas.Application.AspNetCore.dll
Syntax
public class AspNetAppShutdownAwaiter : IAppShutdownAwaiter

Methods

| Improve this Doc View Source

WaitForShutdownSignalAsync(CancellationToken)

Waits for the application termination asynchronously.

Declaration
public Task<(IOperationResult result, AppShutdownInstruction instruction)> WaitForShutdownSignalAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

Optional. A token that allows processing to be cancelled.

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<IOperationResult, AppShutdownInstruction>>

An asynchronous result that yields the termination result.

Implements

IAppShutdownAwaiter

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX