ISFAuthorizationViewDelegate Gränssnitt
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Delegera metoder för att svara på ändringar av auktoriseringstillstånd i en SFAuthorizationView.
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, IsInformal=true, Name="SFAuthorizationViewDelegate", WrapperType=typeof(SecurityInterface.SFAuthorizationViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidAuthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidAuthorize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidDeauthorize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, ReturnType=typeof(System.Boolean), Selector="authorizationViewShouldDeauthorize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CreatedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewCreatedAuthorization:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReleasedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewReleasedAuthorization:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidHide", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidHide:")]
public interface ISFAuthorizationViewDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, IsInformal=true, Name="SFAuthorizationViewDelegate", WrapperType=typeof(SecurityInterface.SFAuthorizationViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidAuthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidAuthorize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidDeauthorize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldDeauthorize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, ReturnType=typeof(System.Boolean), Selector="authorizationViewShouldDeauthorize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CreatedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewCreatedAuthorization:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ReleasedAuthorization", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewReleasedAuthorization:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidHide", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(SecurityInterface.SFAuthorizationView) }, Selector="authorizationViewDidHide:")>]
type ISFAuthorizationViewDelegate = interface
interface INativeObject
interface IDisposable
- Härledda
- Attribut
- Implementeringar
Egenskaper
| Name | Description |
|---|---|
| Handle |
Hantera (pekaren) till den ohanterade objektrepresentationen. (Ärvd från INativeObject) |
Metoder
| Name | Description |
|---|---|
| CreatedAuthorization(SFAuthorizationView) |
Anropas när auktoriseringsvyn har skapat en auktoriseringsreferens. |
| DidAuthorize(SFAuthorizationView) |
Anropas när auktoriseringsvyn har auktoriserats. |
| DidDeauthorize(SFAuthorizationView) |
Anropas när auktoriseringsvyn har auktoriserats. |
| DidHide(SFAuthorizationView) |
Anropas när auktoriseringsvyn har dolts. |
| ReleasedAuthorization(SFAuthorizationView) |
Anropas när auktoriseringsvyn har släppt sin auktoriseringsreferens. |
| ShouldDeauthorize(SFAuthorizationView) |
Anropas för att avgöra om auktoriseringsvyn ska avauktoriseras. |
Tilläggsmetoder
| Name | Description |
|---|---|
| GetHandle(INativeObject) |
Delegera metoder för att svara på ändringar av auktoriseringstillstånd i en SFAuthorizationView. |
| GetNonNullHandle(INativeObject, String) |
Delegera metoder för att svara på ändringar av auktoriseringstillstånd i en SFAuthorizationView. |