ParallelEnumerable.WithMergeOptions<TSource> 메서드

정의

쿼리가 출력을 버퍼링하는 방법을 지정하는 이 쿼리의 병합 옵션을 설정합니다.

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)

형식 매개 변수

TSource

의 요소 형식입니다 source.

매개 변수

source
ParallelQuery<TSource>

옵션을 설정할 ParallelQuery입니다.

mergeOptions
ParallelMergeOptions

이 쿼리에 대해 설정할 병합 옵션입니다.

반품

원본과 동일한 쿼리를 나타내지만 등록된 병합 옵션을 포함하는 ParallelQuery입니다.

예외

source null 참조(Visual Basic 없음)입니다.

mergeOptions 가 유효한 ParallelMergeOptions 값이 아닌 경우

mergeOptions 는 쿼리에서 여러 번 사용됩니다.

적용 대상

추가 정보