Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ParseExternalManifest Method

ParseExternalManifest Method

Downloads, parses, and returns an object that represents the specified external manifest.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

'Declaration
Public Sub ParseExternalManifest ( _
	externalManifestUri As Uri, _
	millisecondsTimeout As Integer, _
	<OutAttribute> ByRef externalManifest As Object _
)
'Usage
Dim instance As SmoothStreamingMediaElement
Dim externalManifestUri As Uri
Dim millisecondsTimeout As Integer
Dim externalManifest As Object

instance.ParseExternalManifest(externalManifestUri, _
	millisecondsTimeout, externalManifest)

Parameters

externalManifestUri
Type: System..::..Uri
The URI of the manifest data to parse.
millisecondsTimeout
Type: System..::..Int32
The timeout interval to avoid blocking if external data is not returned quickly.
externalManifest
Type: System..::..Object%
When this method returns, contains the object that receives the external manifest data.

The manifest that is the result of calling this method can be passed to MergeExternalManifest to override elements of the main manifest by elements from the external manifest. For more information and for examples, see Manifest Merge (IIS Smooth Streaming).

Applications can call ParseExternalManifest only from the ManifestMerge event handler. Outside the scope of this method, ParseExternalManifest throws an InvalidOperationException exception.

The ParseExternalManifest method reads XML data from a source identified by the externalManifestUri parameter. To avoid blocking, the millisecondsTimeout parameter sets a timeout interval in milliseconds. The last parameter returns the new parsed data.

// Out parameter for function.
  Uri uriExtManifest = new 
  Uri("http://serverName/BigBuckBunnyCaptions.xml");
    SmoothPlayer.ParseExternalManifest(uriExtManifest, 3000, out parsedExternManifest);

Silverlight

Supported in: 4

Show:
© 2015 Microsoft