You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/api/Microsoft.Azure.WebJobs.Extensions.ServiceBus.netstandard2.0.cs
Copy file name to clipboardExpand all lines: sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/src/Config/ServiceBusHostBuilderExtensions.cs
/// Gets or sets an optional <see cref="TimeSpan"/> specifying the maximum time to wait when attempting to receive messages.
136
-
/// If not specified, the <see cref="ServiceBusRetryOptions.TryTimeout"/> will be used. This only applies for functions that receive
137
-
/// a batch of messages.
138
-
/// </summary>
139
-
publicTimeSpan?MaxWaitTime{get;set;}// TODO this should probably be exposed in the Processor as well and would then also apply for functions that receive a single message.
140
-
141
134
/// <summary>
142
135
/// Gets or sets the maximum number of messages that will be passed to each function call. This only applies for functions that receive
143
136
/// a batch of messages. The default value is 1000.
144
137
/// </summary>
145
138
publicintMaxMessages{get;set;}=1000;
146
139
140
+
/// <summary>
141
+
/// Gets or sets the maximum amount of time to wait for a message to be received for the
142
+
/// currently active session. After this time has elapsed, the processor will close the session
143
+
/// and attempt to process another session.
144
+
/// If not specified, the <see cref="ServiceBusRetryOptions.TryTimeout"/> will be used.
145
+
/// </summary>
146
+
publicTimeSpan?SessionIdleTimeout{get;set;}
147
+
147
148
/// <summary>
148
149
/// Formats the options as JSON objects for display.
0 commit comments