Share via


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)

Syntax

Public Sub SetSource ( _
    remoteStream As MediaStreamSource _
)
public void SetSource(
    MediaStreamSource remoteStream
)

Parameters

Exceptions

Exception Condition
ObjectDisposedException

The object has already been disposed.

ArgumentNullException

The supplied MediaStreamSource object is null.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MediaStreamer Class

Microsoft.Phone.Media Namespace