PlayToConnectionStateChangedEventArgs class

Applies to Windows and Windows Phone

Provides information about the StateChanged event.

Syntax


public ref class PlayToConnectionStateChangedEventArgs sealed 

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

Members

The PlayToConnectionStateChangedEventArgs class has these types of members:

Methods

The PlayToConnectionStateChangedEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The PlayToConnectionStateChangedEventArgs class has these properties.

PropertyAccess typeDescription

CurrentState

Read-onlyGets the current state after the Play To connection state has changed.

PreviousState

Read-onlyGets the previous state before the Play To connection state was changed.

 

Remarks

For an example of how to use Play To in an application, see Quickstart: Using Play To in applications (JavaScript) or Quickstart: Using Play To in applications (C#/VB).

Examples

No code example is currently available or this language may not be supported.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media.PlayTo
Windows::Media::PlayTo [C++]

Metadata

Windows.winmd

See also

Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft. All rights reserved.