IProcessTemplate.GetResource 메서드 (String, array<Byte[]%, Int64%)
프로세스 템플릿 내에서 지정한 이름을 사용 하 여 리소스를 가져옵니다.
네임스페이스: Microsoft.TeamFoundation.Server.Core
어셈블리: Microsoft.TeamFoundation.Server.Core(Microsoft.TeamFoundation.Server.Core.dll)
구문
‘선언
Function GetResource ( _
resourceName As String, _
<OutAttribute> ByRef hashValue As Byte(), _
<OutAttribute> ByRef contentLength As Long _
) As Stream
Stream GetResource(
string resourceName,
out byte[] hashValue,
out long contentLength
)
매개 변수
- resourceName
형식: System.String
검색할 리소스의 이름입니다.
- hashValue
형식: array<System.Byte[]%
리소스의 해시 값입니다.
- contentLength
형식: System.Int64%
압축 되지 않은 길이 리소스 내용입니다.
반환 값
형식: System.IO.Stream
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.