Freigeben über


NSUrlConnectionDelegate.CanAuthenticateAgainstProtectionSpace Methode

Definition

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen "WillSendRequestForAuthenticationChallenge" verwenden.

[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

Parameter

connection
NSUrlConnection
protectionSpace
NSUrlProtectionSpace

Gibt zurück

Attribute

Gilt für: