Modifier

Partager via


ExportedDelegate Constructors

Definition

Initializes a new instance of the ExportedDelegate class.

Overloads

ExportedDelegate()

Initializes a new instance of the ExportedDelegate class.

ExportedDelegate(Object, MethodInfo)

Initializes a new instance of the ExportedDelegate class for the specified part and method.

ExportedDelegate()

Source:
ExportedDelegate.cs
Source:
ExportedDelegate.cs

Initializes a new instance of the ExportedDelegate class.

protected:
 ExportedDelegate();
protected ExportedDelegate ();
Protected Sub New ()

Applies to

ExportedDelegate(Object, MethodInfo)

Source:
ExportedDelegate.cs
Source:
ExportedDelegate.cs

Initializes a new instance of the ExportedDelegate class for the specified part and method.

public:
 ExportedDelegate(System::Object ^ instance, System::Reflection::MethodInfo ^ method);
public ExportedDelegate (object? instance, System.Reflection.MethodInfo method);
[System.Security.SecurityCritical]
public ExportedDelegate (object instance, System.Reflection.MethodInfo method);
new System.ComponentModel.Composition.Primitives.ExportedDelegate : obj * System.Reflection.MethodInfo -> System.ComponentModel.Composition.Primitives.ExportedDelegate
[<System.Security.SecurityCritical>]
new System.ComponentModel.Composition.Primitives.ExportedDelegate : obj * System.Reflection.MethodInfo -> System.ComponentModel.Composition.Primitives.ExportedDelegate
Public Sub New (instance As Object, method As MethodInfo)

Parameters

instance
Object

The part exporting the method.

method
MethodInfo

The method to be exported.

Attributes

Applies to