Compartilhar via


NSUrlConnectionDelegate.CanAuthenticateAgainstProtectionSpace Método

Definição

Os desenvolvedores não devem usar esse método preterido. Os desenvolvedores devem usar 'WillSendRequestForAuthenticationChallenge' em vez disso.

[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

Parâmetros

connection
NSUrlConnection
protectionSpace
NSUrlProtectionSpace

Retornos

Atributos

Aplica-se a