Share via


NSXpcInterface.SetAllowedClasses Method

Definition

Overloads

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

allowedClasses
NSSet<Class>
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
allowedClasses
NSSet<Class>
argumentIndex
UIntPtr

unativeint

forReplyBlock
Boolean

Applies to