IContentProvider.GetContentStreamAsync Method (String)

 

Get a stream to the content for the given path. If the path is invalid or nothing is found then throw an ArgumentException exception.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Content
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Function GetContentStreamAsync (
	path As String
) As Task(Of Stream)

Parameters

path
Type: System.String

Case insensitive path indicating the content to receive. The path is a relative URI path using "/" as the separator, for example /path1/path2. It is up to the IContentProvider as to how this path is mapped to a particular piece of content.

Return Value

Type: System.Threading.Tasks.Task(Of Stream)

An open, readable stream which must be closed by the caller.

Return to top
Show: