共用方式為


NWTcpConnectionAuthenticationDelegate_Extensions.ShouldEvaluateTrust 方法

定義

呼叫以通知委派應該評估信任的方法。

public static bool ShouldEvaluateTrust (this NetworkExtension.INWTcpConnectionAuthenticationDelegate This, NetworkExtension.NWTcpConnection connection);
static member ShouldEvaluateTrust : NetworkExtension.INWTcpConnectionAuthenticationDelegate * NetworkExtension.NWTcpConnection -> bool

參數

This
INWTcpConnectionAuthenticationDelegate

這個擴充方法運作所在的實例。

connection
NWTcpConnection

傳回

true 表示委派會評估信任。

適用於