共用方式為


PlayToSourceRequest.DisplayErrorString(String) 方法

定義

在播放至 UI 中顯示錯誤訊息。

public:
 virtual void DisplayErrorString(Platform::String ^ errorString) = DisplayErrorString;
/// [Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
void DisplayErrorString(winrt::hstring const& errorString);
/// [Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
void DisplayErrorString(winrt::hstring const& errorString);
[Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public void DisplayErrorString(string errorString);
[Windows.Foundation.Metadata.Deprecated("PlayToSourceRequest may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public void DisplayErrorString(string errorString);
function displayErrorString(errorString)
Public Sub DisplayErrorString (errorString As String)

參數

errorString
String

Platform::String

winrt::hstring

要顯示在 [播放至 UI] 中的錯誤訊息。

屬性

適用於

另請參閱