NSXpcInterface.SetAllowedClasses Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetAllowedClasses(NSSet<Class>, Selector, UIntPtr, Boolean) | |
| SetAllowedClasses(MethodInfo, NSSet<Class>, UIntPtr, Boolean) |
SetAllowedClasses(NSSet<Class>, Selector, UIntPtr, Boolean)
[Foundation.Export("setClasses:forSelector:argumentIndex:ofReply:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetAllowedClasses(Foundation.NSSet<ObjCRuntime.Class> allowedClasses, ObjCRuntime.Selector methodSelector, UIntPtr argumentIndex, bool forReplyBlock);
[<Foundation.Export("setClasses:forSelector:argumentIndex:ofReply:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetAllowedClasses : Foundation.NSSet<ObjCRuntime.Class> * ObjCRuntime.Selector * unativeint * bool -> unit
override this.SetAllowedClasses : Foundation.NSSet<ObjCRuntime.Class> * ObjCRuntime.Selector * unativeint * bool -> unit
Parameters
- methodSelector
- Selector
- argumentIndex
-
UIntPtr
unativeint
- forReplyBlock
- Boolean
- Attributes
Applies to
SetAllowedClasses(MethodInfo, NSSet<Class>, UIntPtr, Boolean)
public void SetAllowedClasses(System.Reflection.MethodInfo method, Foundation.NSSet<ObjCRuntime.Class> allowedClasses, UIntPtr argumentIndex, bool forReplyBlock);
member this.SetAllowedClasses : System.Reflection.MethodInfo * Foundation.NSSet<ObjCRuntime.Class> * unativeint * bool -> unit
Parameters
- method
- MethodInfo
- argumentIndex
-
UIntPtr
unativeint
- forReplyBlock
- Boolean