語言

WebSocket.RegisterPrefixes 方法

定義

警告

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

允許呼叫者註冊 WebSocket 請求的前綴(ws 和 wss)。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static void RegisterPrefixes();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")]
public static void RegisterPrefixes();
public static void RegisterPrefixes();
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")>]
static member RegisterPrefixes : unit -> unit
static member RegisterPrefixes : unit -> unit
Public Shared Sub RegisterPrefixes ()
屬性

適用於