Compartir a través de


Catálogo de eventos de SharePoint Foundation

Última modificación: jueves, 08 de abril de 2010

Hace referencia a: SharePoint Foundation 2010

En la tabla 1 se enumeran los tipos administrados que pertenecen al modelo de objetos de eventos de SharePoint Foundation 2010 y los miembros relevantes de cada uno. Se indican los tipos y miembros que son nuevos en Microsoft SharePoint Foundation 2010. Para obtener vistas alternativas del modelo de objetos de eventos de SharePoint Foundation, vea Tabla de eventos de SharePoint, receptores de eventos y hosts de evento y Comparación de los métodos de receptores de eventos: Windows SharePoint Services 3.0 y SharePoint Foundation 2010.

Modelo de objetos de eventos de SharePoint Foundation

Tabla 1. Tipos administrados y miembros del modelo de objetos de eventos de SharePoint Foundation 2010

Tipo

Métodos

Propiedades/campos

SPContentType

N/D

SPEventReceiverDefinitionCollection EventReceivers

SPEmailEventReceiver

SPEmailEventReceiver()

void EmailReceived (Microsoft.SharePoint.SPList list, Microsoft.SharePoint.Utilities.SPEmailMessage emailMessage, string receiverData)

N/D

SPEventPropertiesBase

protected abstract void MarshalData() (nuevo en 2010)

protected void SetUserTokens(byte[] userTokenBytes) (nuevo en 2010)

protected void SetUserTokens() (nuevo en 2010)

bool Cancel

string ErrorMessage

SPEventReceiverType EventType (nuevo en 2010)

protected SPUserToken EventUserToken (nuevo en 2010)

SPUserToken OriginatingUserToken (nuevo en 2010)

string ReceiverData (nuevo en 2010)

string RedirectUrl (nuevo en 2010)

Guid SiteId (nuevo en 2010)

SPEventReceiverStatus Status

SPEventReceiverBase

SPEventReceiverBase()

protected void DisableEventFiring()

protected void EnableEventFiring()

N/D

SPEventReceiverDefinition

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 (nuevo en 2010)

SPEventReceiverSynchronization Synchronization (nuevo en 2010)

SPEventReceiverType Type

Guid WebId

SPEventReceiverDefinitionCollection

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

SPEventReceiverStatus

N/D

Continue

CancelNoError

CancelWithError

CancelWithRedirectUrl (nuevo en 2010)

SPEventReceiverSynchronization

(nuevo en 2010)

N/D

Default (nuevo en 2010)

Synchronous (nuevo en 2010)

Asynchronous (nuevo en 2010)

SPEventReceiverType

N/D

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 (nuevo en 2010)

ListAdding (nuevo en 2010)

ListDeleted (nuevo en 2010)

ListDeleting (nuevo en 2010)

SiteDeleted

SiteDeleting

WebAdding (nuevo en 2010)

WebDeleted

WebDeleting

WebMoved

WebMoving

WebProvisioned (nuevo en 2010)

WorkflowCompleted (nuevo en 2010)

WorkflowPostponed (nuevo en 2010)

WorkflowStarted (nuevo en 2010)

WorkflowStarting (nuevo en 2010)

SPFile

N/D

SPEventReceiverDefinitionCollection EventReceivers

SPItemEventProperties

void Dispose()

SPListItem GetListItemFields(string field1, params string[] fields) (nuevo en 2010)

void InvalidateListItem() (nuevo en 2010)

void InvalidateWeb() (nuevo en 2010)

protected override void MarshalData() (nuevo en 2010)

SPWeb OpenWeb()

SPItemEventDataCollection AfterProperties

string AfterUrl

SPItemEventDataCollection BeforeProperties

string BeforeUrl

SPEventContext Context

int CurrentUserId

SPList List (nuevo en 2010)

Guid ListId

SPListItem ListItem

int ListItemId

string ListTitle

string RelativeWebUrl

string UserDisplayName

string UserLoginName

SPWeb Web (nuevo en 2010)

bool Versionless

string WebUrl

SPUrlZone Zone

SPEventReceiverType EventType (hereda del elemento primario en 2010)

Guid SiteId (hereda del elemento primario en 2010)

SPItemEventReceiver

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/D

SPList

N/D

SPEventReceiverDefinitionCollection EventReceivers

SPListEventProperties

void Dispose()

void InvalidateList()

void InvalidateWeb()

protected override void MarshalData()

Guid FeatureId (nuevo en 2010)

SPField Field

string FieldName

string FieldXml

SPList List

Guid ListId

string ListTitle

int TemplateId (nuevo en 2010)

string UserDisplayName

string UserLoginName

SPWeb Web

Guid WebId

string WebUrl

SPItemEventDataCollection AfterProperties

SPEventReceiverType EventType (heredado de elemento primario en 2010)

Guid SiteId (heredado de elemento primario en 2010)

SPListEventReceiver

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) (nuevo en 2010)

void ListAdding(SPListEventProperties properties) (nuevo en 2010)

void ListDeleted(SPListEventProperties properties) (nuevo en 2010)

void ListDeleting(SPListEventProperties properties) (nuevo en 2010)

N/D

SPListEventType

Nota: este tipo se ha marcado como "obsoleto" en Microsoft SharePoint Foundation 2010.

N/D

N/D

SPSite

N/D

SPEventReceiverDefinitionCollection EventReceivers (nuevo en 2010)

SPWeb

N/D

SPEventReceiverDefinitionCollection EventReceivers

SPWebEventProperties

void Dispose() (nuevo en 2010)

void InvalidateWeb() (nuevo en 2010)

protected override void MarshalData() (nuevo en 2010)

string FullUrl

string NewServerRelativeUrl

Guid ParentWebId (nuevo en 2010)

string ServerRelativeUrl

string UserDisplayName

string UserLoginName

SPWeb Web

Guid WebId

SPEventReceiverType EventType (heredado de elemento primario en 2010)

Guid SiteId (heredado de elemento primario en 2010)

SPWebEventReceiver

SPWebEventReceiver()

void SiteDeleted(SPWebEventProperties properties)

void SiteDeleting(SPWebEventProperties properties)

void WebAdding(SPWebEventProperties properties) (nuevo en 2010)

void WebDeleted(SPWebEventProperties properties)

void WebDeleting(SPWebEventProperties properties)

void WebMoved(SPWebEventProperties properties)

void WebMoving(SPWebEventProperties properties)

void WebProvisioned(SPWebEventProperties properties) (nuevo en 2010)

N/D

SPWorkflowEventProperties

(Este tipo es nuevo en 2010)

protected override void MarshalData() (nuevo en 2010)

SPWorkflowActivationProperties ActivationProperties (nuevo en 2010)

string AssociationData (nuevo en 2010)

SPWorkflowEventCompletionType CompletionType (nuevo en 2010)

Exception ErrorException (nuevo en 2010)

SPEventReceiverType EventType (nuevo en 2010)

string InitiationData (nuevo en 2010)

SPWorkflowPostponedEventType PostponedEvent (nuevo en 2010)

int TerminatedByUserId (nuevo en 2010)

SPWorkflow Workflow (nuevo en 2010)

StopEventReceiver

StopEventReceiver()

protected bool Stopped

Strings

N/D

EventPropertiesCannotBeChanged

EventReceiverAssemblyNameNull

EventReceiverAssemblyNotInGAC

EventReceiverAsyncBeforeInvalid (nuevo en 2010)

EventReceiverCancelRequest

EventReceiverClassNameNull

EventReceiverTypeInvalid

EventReceiverWorkflowContextInvalid

InvalidEventReceiverHostType

Vea también

Conceptos

Tabla de eventos de SharePoint, receptores de eventos y hosts de evento

Comparación de los métodos de receptores de eventos: Windows SharePoint Services 3.0 y SharePoint Foundation 2010

Otros recursos

Eventos de SharePoint Foundation 2010