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의 경우 Nothing)인 경우

mergeOptions는 유효한 ParallelMergeOptions 값이 아닙니다.

WithMergeOptions은 쿼리에서 여러 번 사용됩니다.

적용 대상

추가 정보