Katalog mit SharePoint Foundation-Ereignissen
Letzte Änderung: Donnerstag, 8. April 2010
Gilt für: SharePoint Foundation 2010
In Tabelle 1 sind verwaltete Typen aufgeführt, die zum SharePoint Foundation 2010-Ereignisobjektmodell gehören, und es werden die relevanten Member für jeden Typ aufgeführt. Typen und Member, die in Microsoft SharePoint Foundation 2010 neu sind, werden ebenfalls angegeben. Alternative Ansichten des SharePoint Foundation-Ereignisobjektmodells finden Sie unter Tabelle mit SharePoint-Ereignissen, -Ereignisempfängern und -Ereignishosts und Methoden für Ereignisempfänger im Vergleich: Windows SharePoint Services 3.0 und SharePoint Foundation 2010.
SharePoint Foundation-Ereignisobjektmodell
Tabelle 1. Verwaltete Typen und Member im SharePoint Foundation 2010-Ereignisobjektmodell
Typ |
Methoden |
Eigenschaften/Felder |
---|---|---|
n/v |
SPEventReceiverDefinitionCollection EventReceivers |
|
SPEmailEventReceiver() void EmailReceived (Microsoft.SharePoint.SPList list, Microsoft.SharePoint.Utilities.SPEmailMessage emailMessage, string receiverData) |
n/v |
|
protected abstract void MarshalData() (neu in 2010) protected void SetUserTokens(byte[] userTokenBytes) (neu in 2010) protected void SetUserTokens() (neu in 2010) |
bool Cancel string ErrorMessage SPEventReceiverType EventType (neu in 2010) protected SPUserToken EventUserToken (neu in 2010) SPUserToken OriginatingUserToken (neu in 2010) string ReceiverData (neu in 2010) string RedirectUrl (neu in 2010) Guid SiteId (neu in 2010) SPEventReceiverStatus Status |
|
SPEventReceiverBase() protected void DisableEventFiring() protected void EnableEventFiring() |
n/v |
|
void Delete() void FireContextEvent (SPSite site) void Update() |
string Assembly string Class Guid ContextCollectionId Guid ContextEventType Guid ContextId int ContextItemId string ContextItemUrl Guid ContextObjectId Guid ContextType int Credential string Data Guid HostId SPEventHostType HostType Guid Id string Name Guid ParentHostId SPEventHostType ParentHostType int SequenceNumber Guid SiteId string SolutionHash (neu in 2010) SPEventReceiverSynchronization Synchronization (neu in 2010) SPEventReceiverType Type Guid WebId |
|
SPEventReceiverDefinition Add() SPEventReceiverDefinition Add(Guid Id) SPEventReceiverDefinition Add(Guid Id, SPList contextList) SPEventReceiverDefinition Add(Guid Id, SPList contextList) void Add(SPEventReceiverType receiverType, string assembly, string className) void CopyTo(SPEventReceiverDefinition[] array, int index) bool EventReceiverDefinitionExist(Guid eventReceiverId) |
int Count Guid HostId SPEventHostType HostType SPEventReceiverDefinition this[Guid eventReceiverId] SPEventReceiverDefinition this[int index] int ItemId SPSite Site SPWeb Web |
|
n/v |
Continue CancelNoError CancelWithError CancelWithRedirectUrl (neu in 2010) |
|
SPEventReceiverSynchronization (neu in 2010) |
n/v |
Default (neu in 2010) Synchronous (neu in 2010) Asynchronous (neu in 2010) |
n/v |
ContextEvent EmailReceived FieldAdded FieldAdding FieldDeleted FieldDeleting FieldUpdated FieldUpdating InvalidReceiver ItemAdded ItemAdding ItemAttachmentAdded ItemAttachmentAdding ItemAttachmentDeleted ItemAttachmentDeleting ItemCheckedIn ItemCheckedOut ItemCheckingIn ItemCheckingOut ItemDeleted ItemDeleting ItemFileConverted ItemFileMoved ItemFileMoving ItemUncheckedOut ItemUncheckingOut ItemUpdated ItemUpdating ListAdded (neu in 2010) ListAdding (neu in 2010) ListDeleted (neu in 2010) ListDeleting (neu in 2010) SiteDeleted SiteDeleting WebAdding (neu in 2010) WebDeleted WebDeleting WebMoved WebMoving WebProvisioned (neu in 2010) WorkflowCompleted (neu in 2010) WorkflowPostponed (neu in 2010) WorkflowStarted (neu in 2010) WorkflowStarting (neu in 2010) |
|
n/v |
SPEventReceiverDefinitionCollection EventReceivers |
|
void Dispose() SPListItem GetListItemFields(string field1, params string[] fields) (neu in 2010) void InvalidateListItem() (neu in 2010) void InvalidateWeb() (neu in 2010) protected override void MarshalData() (neu in 2010) SPWeb OpenWeb() |
SPItemEventDataCollection AfterProperties string AfterUrl SPItemEventDataCollection BeforeProperties string BeforeUrl SPEventContext Context int CurrentUserId SPList List (neu in 2010) Guid ListId SPListItem ListItem int ListItemId string ListTitle string RelativeWebUrl string UserDisplayName string UserLoginName SPWeb Web (neu in 2010) bool Versionless string WebUrl SPUrlZone Zone SPEventReceiverType EventType (erbt vom übergeordneten Element in 2010) Guid SiteId (erbt vom übergeordneten Element in 2010) |
|
SPItemEventReceiver() void ContextEvent(SPItemEventProperties properties) void ItemAdded(SPItemEventProperties properties) void ItemAdding(SPItemEventProperties properties) void ItemAttachmentAdded(SPItemEventProperties properties) void ItemAttachmentAdding(SPItemEventProperties properties) void ItemAttachmentDeleted(SPItemEventProperties properties) void ItemAttachmentDeleting(SPItemEventProperties properties) void ItemCheckedIn(SPItemEventProperties properties) void ItemCheckedOut(SPItemEventProperties properties) void ItemCheckingIn(SPItemEventProperties properties) void ItemCheckingOut(SPItemEventProperties properties) void ItemDeleted(SPItemEventProperties properties) void ItemDeleting(SPItemEventProperties properties) void ItemFileConverted(SPItemEventProperties properties) void ItemFileMoved(SPItemEventProperties properties) void ItemFileMoving(SPItemEventProperties properties) void ItemUncheckedOut(SPItemEventProperties properties) void ItemUncheckingOut(SPItemEventProperties properties) void ItemUpdated(SPItemEventProperties properties) void ItemUpdating(SPItemEventProperties properties) |
n/v |
|
n/v |
SPEventReceiverDefinitionCollection EventReceivers |
|
void Dispose() void InvalidateList() void InvalidateWeb() protected override void MarshalData() |
Guid FeatureId (neu in 2010) SPField Field string FieldName string FieldXml SPList List Guid ListId string ListTitle int TemplateId (neu in 2010) string UserDisplayName string UserLoginName SPWeb Web Guid WebId string WebUrl SPItemEventDataCollection AfterProperties SPEventReceiverType EventType (vom übergeordneten Element in 2010 geerbt) Guid SiteId (vom übergeordneten Element in 2010 geerbt) |
|
SPListEventReceiver() void FieldAdded(SPListEventProperties properties) void FieldAdding(SPListEventProperties properties) void FieldDeleted(SPListEventProperties properties) void FieldDeleting(SPListEventProperties properties) void FieldUpdated(SPListEventProperties properties) void FieldUpdating(SPListEventProperties properties) void ListAdded(SPListEventProperties properties) (neu in 2010) void ListAdding(SPListEventProperties properties) (neu in 2010) void ListDeleted(SPListEventProperties properties) (neu in 2010) void ListDeleting(SPListEventProperties properties) (neu in 2010) |
n/v |
|
Hinweis: Dieser Typ wurde in Microsoft SharePoint Foundation 2010 als veraltet gekennzeichnet. |
n/v |
n/v |
n/v |
SPEventReceiverDefinitionCollection EventReceivers (neu for 2010) |
|
n/v |
SPEventReceiverDefinitionCollection EventReceivers |
|
void Dispose() (neu in 2010) void InvalidateWeb() (neu in 2010) protected override void MarshalData() (neu in 2010) |
string FullUrl string NewServerRelativeUrl Guid ParentWebId (neu in 2010) string ServerRelativeUrl string UserDisplayName string UserLoginName SPWeb Web Guid WebId SPEventReceiverType EventType (vom übergeordneten Element in 2010 geerbt) Guid SiteId (vom übergeordneten Element in 2010 geerbt) |
|
SPWebEventReceiver() void SiteDeleted(SPWebEventProperties properties) void SiteDeleting(SPWebEventProperties properties) void WebAdding(SPWebEventProperties properties) (neu in 2010) void WebDeleted(SPWebEventProperties properties) void WebDeleting(SPWebEventProperties properties) void WebMoved(SPWebEventProperties properties) void WebMoving(SPWebEventProperties properties) void WebProvisioned(SPWebEventProperties properties) (neu in 2010) |
n/v |
|
(Dieser Typ ist neu in 2010) |
protected override void MarshalData() (neu in 2010) |
SPWorkflowActivationProperties ActivationProperties (neu in 2010) string AssociationData (neu in 2010) SPWorkflowEventCompletionType CompletionType (neu in 2010) Exception ErrorException (neu in 2010) SPEventReceiverType EventType (neu in 2010) string InitiationData (neu in 2010) SPWorkflowPostponedEventType PostponedEvent (neu in 2010) int TerminatedByUserId (neu in 2010) SPWorkflow Workflow (neu in 2010) |
StopEventReceiver() |
protected bool Stopped |
|
Strings |
n/v |
EventPropertiesCannotBeChanged EventReceiverAssemblyNameNull EventReceiverAssemblyNotInGAC EventReceiverAsyncBeforeInvalid (neu in 2010) EventReceiverCancelRequest EventReceiverClassNameNull EventReceiverTypeInvalid EventReceiverWorkflowContextInvalid InvalidEventReceiverHostType |
Siehe auch
Konzepte
Tabelle mit SharePoint-Ereignissen, -Ereignisempfängern und -Ereignishosts