Skip to content

Commit 9fab238

Browse files
Update Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/ChangeFeedProcessorBuilder.cs
Co-authored-by: Kiran Kumar Kolli <[email protected]>
1 parent 73b2844 commit 9fab238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/ChangeFeedProcessorBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ internal virtual ChangeFeedProcessorBuilder WithStartFromBeginning()
134134
{
135135
if (this.changeFeedProcessorOptions.Mode == ChangeFeedMode.AllVersionsAndDeletes)
136136
{
137-
throw new InvalidOperationException($"Using the 'WithStartFromBeginning' option with ChangeFeedProcessor is not supported with {ChangeFeedMode.AllVersionsAndDeletes} mode.");
137+
throw new InvalidOperationException($"Using the '{nameof(WithStartFromBeginning)}' option with ChangeFeedProcessor is not supported with {ChangeFeedMode.AllVersionsAndDeletes} mode.");
138138
}
139139

140140
this.changeFeedProcessorOptions.StartFromBeginning = true;

0 commit comments

Comments
 (0)