Sprache

WebSocketError Klasse

Definition

Stellt den Socketfehlerstatus für ein MessageWebSocket - oder StreamWebSocket -Objekt bereit.

public ref class WebSocketError abstract 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 WebSocketError 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 static class WebSocketError
Public Class WebSocketError
Vererbung
Object Platform::Object IInspectable WebSocketError
Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Methoden

Name Beschreibung
GetStatus(Int32)

Ruft einen WebErrorStatus - Wert basierend auf einem Fehler, der durch einen WebSocket -Vorgang aufgetreten ist.

Gilt für:

Siehe auch