WorkerOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An options class for configuring the worker.
public class WorkerOptions
type WorkerOptions = class
Public Class WorkerOptions
- Inheritance
-
WorkerOptions
Constructors
WorkerOptions() |
Properties
Capabilities |
Gets the optional worker capabilities. |
EnableUserCodeException |
Gets and sets the flag for opting in to unwrapping user-code-thrown exceptions when they are surfaced to the Host. |
IncludeEmptyEntriesInMessagePayload |
Gets or sets a value that determines if empty entries should be included in the function trigger message payload.
For example, if a set of entries were sent to a messaging service such as Service Bus or Event Hub and your function
app has a Service bus trigger or Event hub trigger, only the non-empty entries from the payload will be sent to the
function code as trigger data when this setting value is |
InputConverters |
Gets the collection of input converters. |
Serializer |
The ObjectSerializer to use for all JSON serialization and deserialization. By default, this is a default JsonObjectSerializer with default JsonSerializerOptions. |
Applies to
Azure SDK for .NET