Table of Contents

Class JobHostContext

Namespace
Microsoft.Azure.WebJobs.Host.Executors
Assembly
Microsoft.Azure.WebJobs.Host.dll
public sealed class JobHostContext : IDisposable
Inheritance
JobHostContext
Implements
Inherited Members

Constructors

JobHostContext(IFunctionIndexLookup, IFunctionExecutor, IListener, IAsyncCollector<FunctionInstanceLogEntry>, ILoggerFactory)

public JobHostContext(IFunctionIndexLookup functionLookup, IFunctionExecutor executor, IListener listener, IAsyncCollector<FunctionInstanceLogEntry> eventCollector, ILoggerFactory loggerFactory = null)

Parameters

functionLookup IFunctionIndexLookup
executor IFunctionExecutor
listener IListener
eventCollector IAsyncCollector<FunctionInstanceLogEntry>
loggerFactory ILoggerFactory

Properties

EventCollector

public IAsyncCollector<FunctionInstanceLogEntry> EventCollector { get; }

Property Value

IAsyncCollector<FunctionInstanceLogEntry>

Executor

public IFunctionExecutor Executor { get; }

Property Value

IFunctionExecutor

FunctionLookup

public IFunctionIndexLookup FunctionLookup { get; }

Property Value

IFunctionIndexLookup

Listener

public IListener Listener { get; }

Property Value

IListener

LoggerFactory

public ILoggerFactory LoggerFactory { get; }

Property Value

ILoggerFactory

Methods

Dispose()

public void Dispose()