ParallelEnumerable.Concat 메서드

정의

두 병렬 시퀀스를 연결합니다.

오버로드

Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)
사용되지 않음.

이 Concat 오버로드는 호출되면 안 됩니다. 이 메서드는 사용되지 않는 것으로 표시되며 호출되면 항상 NotSupportedException을 throw합니다.

Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

두 병렬 시퀀스를 연결합니다.

Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

주의

The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.

이 Concat 오버로드는 호출되면 안 됩니다. 이 메서드는 사용되지 않는 것으로 표시되며 호출되면 항상 NotSupportedException을 throw합니다.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Concat(System::Linq::ParallelQuery<TSource> ^ first, System::Collections::Generic::IEnumerable<TSource> ^ second);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TSource> Concat<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second);
[<System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")>]
static member Concat : System.Linq.ParallelQuery<'Source> * seq<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Concat(Of TSource) (first As ParallelQuery(Of TSource), second As IEnumerable(Of TSource)) As ParallelQuery(Of TSource)

형식 매개 변수

TSource

이 형식 매개 변수는 사용되지 않습니다.

매개 변수

first
ParallelQuery<TSource>

이 매개 변수는 사용되지 않습니다.

second
IEnumerable<TSource>

이 매개 변수는 사용되지 않습니다.

반환

이 오버로드는 항상 NotSupportedException을 throw합니다.

특성

예외

이 메서드가 호출될 때 발생하는 예외입니다.

설명

이 오버로드는 형식의 왼쪽 데이터 원본과 형식 ParallelQuery<TSource> 의 올바른 데이터 원본이 있는 Concat의 IEnumerable<T>사용을 허용하지 않습니다. 그렇지 않으면 Concat 연산자가 병렬 구현에 바인딩된 것처럼 보이지만 실제로는 순차적 구현에 바인딩됩니다.

추가 정보

적용 대상

Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs
Source:
ParallelEnumerable.cs

두 병렬 시퀀스를 연결합니다.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Concat(System::Linq::ParallelQuery<TSource> ^ first, System::Linq::ParallelQuery<TSource> ^ second);
public static System.Linq.ParallelQuery<TSource> Concat<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Linq.ParallelQuery<TSource> second);
static member Concat : System.Linq.ParallelQuery<'Source> * System.Linq.ParallelQuery<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Concat(Of TSource) (first As ParallelQuery(Of TSource), second As ParallelQuery(Of TSource)) As ParallelQuery(Of TSource)

형식 매개 변수

TSource

입력 시퀀스 요소의 형식입니다.

매개 변수

first
ParallelQuery<TSource>

연결할 첫 번째 시퀀스입니다.

second
ParallelQuery<TSource>

첫 번째 시퀀스에 연결할 시퀀스입니다.

반환

두 입력 시퀀스의 연결된 요소가 들어 있는 시퀀스입니다.

예외

first 또는 second가 null 참조(Visual Basic의 경우 Nothing)인 경우

추가 정보

적용 대상