共用方式為


NWTcpConnectionAuthenticationDelegate_Extensions.EvaluateTrustAsync 方法

定義

由開發人員實作時,傳回覆寫預設信任評估的工作。

public static System.Threading.Tasks.Task<Security.SecTrust> EvaluateTrustAsync (this NetworkExtension.INWTcpConnectionAuthenticationDelegate This, NetworkExtension.NWTcpConnection connection, Foundation.NSArray peerCertificateChain);
static member EvaluateTrustAsync : NetworkExtension.INWTcpConnectionAuthenticationDelegate * NetworkExtension.NWTcpConnection * Foundation.NSArray -> System.Threading.Tasks.Task<Security.SecTrust>

參數

This
INWTcpConnectionAuthenticationDelegate

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

connection
NWTcpConnection
peerCertificateChain
NSArray

傳回

適用於