Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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