سؤال

أنا عالق في استخدام spemaileventreceiver في SharePoint 2013.

هذا الرمز الخاص بي: giveacodicetagpre.

ينتج الرمز أعلاه خطأ في كل من VS 2013 و VS 2012.

أي اقتراح؟ساعدني

هل كانت مفيدة؟

المحلول

Are you running solution in sandbox type solution?

If so, try full trust type.

نصائح أخرى

Have you added both the using directives mentioned in the MSDN documentation?

This example requires using directives (Imports in Visual Basic) for the Microsoft.SharePoint and Microsoft.SharePoint.Utilities namespaces.

It seems to not be enough to use Microsoft.SharePoint, you also need Microsoft.SharePoint.Utilities

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top