NSUrlConnectionDelegate.CanAuthenticateAgainstProtectionSpace 方法

定义

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

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

参数

connection
NSUrlConnection
protectionSpace
NSUrlProtectionSpace

返回

属性

适用于