CastingConnectionErrorOccurredEventArgs 类

定义

表示 CastingConnectionErrorOccurred 事件的参数

public ref class CastingConnectionErrorOccurredEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CastingConnectionErrorOccurredEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CastingConnectionErrorOccurredEventArgs
Public NotInheritable Class CastingConnectionErrorOccurredEventArgs
继承
Object Platform::Object IInspectable CastingConnectionErrorOccurredEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

通过处理 ErrorOccurred 事件 获取此类的实例。

属性

ErrorStatus

获取触发强制转换错误事件 ErrorOccurred 的特定错误。

Message

获取错误状态代码 ErrorStatus 随附的人类可读消息。

适用于