共用方式為


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();
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 ();
static member RegisterPrefixes : unit -> unit
[<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
Public Shared Sub RegisterPrefixes ()
屬性

適用於