DataServiceContext.GetReadStreamUri 메서드 (Object)
이진 데이터 스트림을 반환하는 데 사용되는 URI를 가져옵니다.
네임스페이스: System.Data.Services.Client
어셈블리: Microsoft.Data.Services.Client(Microsoft.Data.Services.Client.dll)
구문
‘선언
Public Function GetReadStreamUri ( _
entity As Object _
) As Uri
‘사용 방법
Dim instance As DataServiceContext
Dim entity As Object
Dim returnValue As Uri
returnValue = instance.GetReadStreamUri(entity)
public Uri GetReadStreamUri(
Object entity
)
public:
Uri^ GetReadStreamUri(
Object^ entity
)
member GetReadStreamUri :
entity:Object -> Uri
public function GetReadStreamUri(
entity : Object
) : Uri
매개 변수
- entity
유형: System.Object
검색할 관련된 이진 스트림이 있는 엔터티입니다.
반환 값
유형: System.Uri
이진 데이터 스트림의 읽기 URI입니다.
예외
예외 | 조건 |
---|---|
ArgumentNullException | 지정된 엔터티가 nullnull 참조(Visual Basic에서는 Nothing)인 경우 |
ArgumentException | entity가 이 DataServiceContext에서 추적되지 않는 경우 |
주의
지정된 entity가 미디어 링크 항목이고 GetReadStreamUri 메서드가 미디어 리소스 내용에 액세스하는 데 사용되는 URI를 반환하는 경우
이 URI는 미디어 리소스 내용을 읽기 위한 GET 요청에만 사용됩니다. POST, PUT 또는 DELETE 요청에는 응답하지 않을 수 있습니다.