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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應