-
Notifications
You must be signed in to change notification settings - Fork 205
/
ExecutionContext.cs
36 lines (31 loc) · 1.24 KB
/
ExecutionContext.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
/// Provides context information for job function invocations.
/// </summary>
public class ExecutionContext
{
/// <summary>
/// The job function invocation ID
/// </summary>
public Guid InvocationId { get; set; }
/// <summary>
/// Gets or sets the name of the function being invoked
/// </summary>
public string FunctionName { get; set; }
/// <summary>
/// Gets or sets the function directory. This is <see cref="FunctionAppDirectory"/> concatenated with <see cref="FunctionName"/>
/// </summary>
public string FunctionDirectory { get; set; }
/// <summary>
/// Gets or sets the function application directory as determined by the host. May be null if not set.
/// </summary>
/// <remarks>
/// A host can set this via <see cref="CoreJobHostConfigurationExtensions.UseCore(JobHostConfiguration, string)"/>
/// </remarks>
public string FunctionAppDirectory { get; set; }
}
}