NSUrlConnectionDelegate.CanAuthenticateAgainstProtectionSpace 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
開發人員不應該使用此已被取代的方法。 開發人員應該改用 '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
傳回
- 屬性