PlayToSourceRequest.DisplayErrorString | displayErrorString method

Applies to Windows only

Displays an error message in the Play To UI.

Syntax


playToSourceRequest.displayErrorString(errorString);

Parameters

errorString

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The error message to display in the Play To UI.

Remarks

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

PlayToSourceRequest
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft