共用方式為


ServerFactory 類別

定義

用來建立命名管道伺服器的靜態類別。

public static class ServerFactory
type ServerFactory = class
Public Class ServerFactory
繼承
ServerFactory

方法

ConnectAsync(String, CancellationToken)

連接到使用 Create(Func<Stream,Task>, ServerFactory+ServerOptions)建立的 IPC 管道。

ConnectAsync(String, ServerFactory+ClientOptions, CancellationToken)

連接到使用 Create(Func<Stream,Task>, ServerFactory+ServerOptions)建立的 IPC 管道。

Create(Func<Stream,Task>, ServerFactory+ServerOptions)

建立 IPC 伺服器。

CreateAsync(String, TraceSource, Func<Stream,Task>)
已淘汰.

建立命名管道伺服器。

PrependPipePrefix(String)

在簡單管道名稱前面加上OS特定的前置詞。

適用於