ProcessTemplate.GetResource Method (String)
Gets a resource with the given name from inside the process template
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function GetResource ( _
resourceName As String _
) As Stream
public Stream GetResource(
string resourceName
)
public:
virtual Stream^ GetResource(
String^ resourceName
) sealed
abstract GetResource :
resourceName:string -> Stream
override GetResource :
resourceName:string -> Stream
public final function GetResource(
resourceName : String
) : Stream
Parameters
resourceName
Type: System.StringThe request context
The name of the resource to retrieve
Return Value
Type: System.IO.Stream
Returns Stream.
Implements
IProcessTemplate.GetResource(String)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.