ParallelEnumerable.WithMergeOptions<TSource> Method
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.
Sets the merge options for this query, which specify how the query will buffer output.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Linq::ParallelQuery<TSource> ^ WithMergeOptions(System::Linq::ParallelQuery<TSource> ^ source, System::Linq::ParallelMergeOptions mergeOptions);
public static System.Linq.ParallelQuery<TSource> WithMergeOptions<TSource> (this System.Linq.ParallelQuery<TSource> source, System.Linq.ParallelMergeOptions mergeOptions);
static member WithMergeOptions : System.Linq.ParallelQuery<'Source> * System.Linq.ParallelMergeOptions -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function WithMergeOptions(Of TSource) (source As ParallelQuery(Of TSource), mergeOptions As ParallelMergeOptions) As ParallelQuery(Of TSource)
Type Parameters
- TSource
The type of elements of source
.
Parameters
- source
- ParallelQuery<TSource>
A ParallelQuery on which to set the option.
- mergeOptions
- ParallelMergeOptions
The merge options to set for this query.
Returns
ParallelQuery representing the same query as source, but with the registered merge options.
Exceptions
source
is a null reference (Nothing in Visual Basic).
mergeOptions
is not a valid ParallelMergeOptions value.
WithMergeOptions
is used multiple times in the query.
Applies to
See also
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור