Skip to content

Commit 35f389b

Browse files
authored
Merge pull request #93698 from pavel-mikula-sonarsource/patch-1
Fix method names in Restrictions on entity interfaces
2 parents 20adb1e + 12d2c08 commit 35f389b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-functions/durable/durable-functions-dotnet-entities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ We also enforce some additional rules:
267267
* Entity interface methods must not have more than one parameter.
268268
* Entity interface methods must return `void`, `Task`, or `Task<T>`.
269269

270-
If any of these rules are violated, an `InvalidOperationException` is thrown at runtime when the interface is used as a type argument to `SignalEntity` or `CreateProxy`. The exception message explains which rule was broken.
270+
If any of these rules are violated, an `InvalidOperationException` is thrown at runtime when the interface is used as a type argument to `SignalEntity`, `SignalEntityAsync`, or `CreateEntityProxy`. The exception message explains which rule was broken.
271271

272272
> [!NOTE]
273273
> Interface methods returning `void` can only be signaled (one-way), not called (two-way). Interface methods returning `Task` or `Task<T>` can be either called or signalled. If called, they return the result of the operation, or re-throw exceptions thrown by the operation. However, when signalled, they do not return the actual result or exception from the operation, but just the default value.

0 commit comments

Comments
 (0)