DataServiceQuery<TElement>.Execute 메서드

정의

쿼리를 실행하고 결과를 구현하는 컬렉션으로 반환합니다 IEnumerable.

public:
 System::Collections::Generic::IEnumerable<TElement> ^ Execute();
public System.Collections.Generic.IEnumerable<TElement> Execute();
override this.Execute : unit -> seq<'Element>
Public Function Execute () As IEnumerable(Of TElement)

반품

IEnumerable<TElement>

IEnumerable<T> T 쿼리 결과의 형식을 나타내는 형식입니다.

예외

데이터 서비스가 HTTP 404를 반환하는 경우: 리소스를 찾을 수 없음 오류입니다.

설명

반환된 컬렉션을 반복할 때 입력 스트림에서 인스턴스 T 로 역직렬화할 수 없는 개체가 발견되면 throw NotSupportedException 됩니다.

적용 대상