Home > Feature Receiver, SharePoint > SharePoint Feature Receiver Error – Does not implement inherited abstract member

SharePoint Feature Receiver Error – Does not implement inherited abstract member


While implementing a SharePoint Feature receiver you might come across this error that “does not implement inherited abstract member”


This error message occurs when you do not implement all the abstract members of the SPFeatureReceiver class.


Note: You will need to implement all the methods even if you do not intend to use them


Following is an default template of Feature Receiver Class structure


public class FeatureReceiverBasicsReceiver : SPFeatureReceiver
{

public override void FeatureActivated(SPFeatureReceiverProperties properties)
{

}

public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
{

}

public override void FeatureInstalled(SPFeatureReceiverProperties properties)
{

}

public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
{

}

}
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: