SPFeatureDefinition.ReceiverAssembly property

Gets the strong name of the assembly that handles events for this Feature.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ReceiverAssembly As String
    Get
'Usage
Dim instance As SPFeatureDefinition
Dim value As String

value = instance.ReceiverAssembly
public string ReceiverAssembly { get; }

Property value

Type: System.String
A string containing the path for the Feature assembly, for example, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.

Remarks

The assembly that contains a Feature receiver must be located in the global assembly cache (GAC).

See also

Reference

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace

Other resources

Event Registrations

Strong-Named Assemblies