NSUrlConnectionDelegate_Extensions.CanAuthenticateAgainstProtectionSpace 方法

定义

开发人员不应使用此已弃用的方法。 开发人员应改用“WillSendRequestForAuthenticationChallenge”。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, "Use 'WillSendRequestForAuthenticationChallenge' instead.")]
public static bool CanAuthenticateAgainstProtectionSpace (this Foundation.INSUrlConnectionDelegate This, Foundation.NSUrlConnection connection, Foundation.NSUrlProtectionSpace protectionSpace);
static member CanAuthenticateAgainstProtectionSpace : Foundation.INSUrlConnectionDelegate * Foundation.NSUrlConnection * Foundation.NSUrlProtectionSpace -> bool

参数

This
INSUrlConnectionDelegate

此扩展方法在其上运行的实例。

connection
NSUrlConnection
protectionSpace
NSUrlProtectionSpace

返回

属性

适用于