SetSource Method
Collapse the table of content
Expand the table of content

MediaStreamer.SetSource Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the source of the MediaStreamer.

Namespace:  Microsoft.Phone.Media
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Sub SetSource ( _
	remoteStream As MediaStreamSource _
)

Parameters

remoteStream
Type: System.Windows.Media.MediaStreamSource
A subclass of MediaStreamSource that provides the media stream.

ExceptionCondition
ObjectDisposedException

The object has already been disposed.

ArgumentNullException

The supplied MediaStreamSource object is null.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft