SharePoint Foundation イベントのカタログ

最終更新日: 2015年3月9日

適用対象: SharePoint Foundation 2010

表 1 は、SharePoint Foundation 2010 イベント オブジェクト モデルに属するマネージ型と関連する各メンバーの一覧です。Microsoft SharePoint Foundation 2010 の新しい型とメンバーは示されているとおりです。他の観点から SharePoint Foundation イベント オブジェクト モデルを確認するには、「SharePoint イベント、イベント レシーバー、およびイベント ホストの表」および「イベント レシーバー メソッドの比較: Windows SharePoint Services 3.0 および SharePoint Foundation 2010」を参照してください。

SharePoint Foundation イベント オブジェクト モデル

表 1. SharePoint Foundation 2010 イベント オブジェクト モデルのマネージ型とメンバー

メソッド

プロパティ/フィールド

SPContentType

該当なし

SPEventReceiverDefinitionCollection EventReceivers

SPEmailEventReceiver

SPEmailEventReceiver()

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

該当なし

SPEventPropertiesBase

protected abstract void MarshalData() (2010 バージョンでの新機能)

protected void SetUserTokens(byte[] userTokenBytes) (2010 バージョンでの新機能)

protected void SetUserTokens() (2010 バージョンでの新機能)

bool Cancel

string ErrorMessage

SPEventReceiverType EventType (2010 バージョンでの新機能)

protected SPUserToken EventUserToken (2010 バージョンでの新機能)

SPUserToken OriginatingUserToken (2010 バージョンでの新機能)

string ReceiverData (2010 バージョンでの新機能)

string RedirectUrl (2010 バージョンでの新機能)

Guid SiteId (2010 バージョンでの新機能)

SPEventReceiverStatus Status

SPEventReceiverBase

SPEventReceiverBase()

protected void DisableEventFiring()

protected void EnableEventFiring()

該当なし

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 (2010 バージョンでの新機能)

SPEventReceiverSynchronization Synchronization (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

該当なし

Continue

CancelNoError

CancelWithError

CancelWithRedirectUrl (2010 バージョンでの新機能)

SPEventReceiverSynchronization

(2010 バージョンでの新機能)

該当なし

Default (2010 バージョンでの新機能)

Synchronous (2010 バージョンでの新機能)

Asynchronous (2010 バージョンでの新機能)

SPEventReceiverType

該当なし

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 (2010 バージョンでの新機能)

ListAdding (2010 バージョンでの新機能)

ListDeleted (2010 バージョンでの新機能)

ListDeleting (2010 バージョンでの新機能)

SiteDeleted

SiteDeleting

WebAdding (2010 バージョンでの新機能)

WebDeleted

WebDeleting

WebMoved

WebMoving

WebProvisioned (2010 バージョンでの新機能)

WorkflowCompleted (2010 バージョンでの新機能)

WorkflowPostponed (2010 バージョンでの新機能)

WorkflowStarted (2010 バージョンでの新機能)

WorkflowStarting (2010 バージョンでの新機能)

SPFile

該当なし

SPEventReceiverDefinitionCollection EventReceivers

SPItemEventProperties

void Dispose()

SPListItem GetListItemFields(string field1, params string[] fields) (2010 バージョンでの新機能)

void InvalidateListItem() (2010 バージョンでの新機能)

void InvalidateWeb() (2010 バージョンでの新機能)

protected override void MarshalData() (2010 バージョンでの新機能)

SPWeb OpenWeb()

SPItemEventDataCollection AfterProperties

string AfterUrl

SPItemEventDataCollection BeforeProperties

string BeforeUrl

SPEventContext Context

int CurrentUserId

SPList List (2010 バージョンでの新機能)

Guid ListId

SPListItem ListItem

int ListItemId

string ListTitle

string RelativeWebUrl

string UserDisplayName

string UserLoginName

SPWeb Web (2010 バージョンでの新機能)

bool Versionless

string WebUrl

SPUrlZone 領域

SPEventReceiverType EventType (2010 バージョンでは親から継承)

Guid SiteId (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)

該当なし

SPList

該当なし

SPEventReceiverDefinitionCollection EventReceivers

SPListEventProperties

void Dispose()

void InvalidateList()

void InvalidateWeb()

protected override void MarshalData()

Guid FeatureId (2010 バージョンでの新機能)

SPField Field

string FieldName

string FieldXml

SPList List

Guid ListId

string ListTitle

int TemplateId (2010 バージョンでの新機能)

string UserDisplayName

string UserLoginName

SPWeb Web

Guid WebId

string WebUrl

SPItemEventDataCollection AfterProperties

SPEventReceiverType EventType (2010 バージョンでは親から継承)

Guid SiteId (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) (2010 バージョンでの新機能)

void ListAdding(SPListEventProperties properties) (2010 バージョンでの新機能)

void ListDeleted(SPListEventProperties properties) (2010 バージョンでの新機能)

void ListDeleting(SPListEventProperties properties) (2010 バージョンでの新機能)

該当なし

SPListEventType

注意: この型は、Microsoft SharePoint Foundation 2010 では使用されていません。

該当なし

該当なし

SPSite

該当なし

SPEventReceiverDefinitionCollection EventReceivers (2010 バージョンでの新機能)

SPWeb

該当なし

SPEventReceiverDefinitionCollection EventReceivers

SPWebEventProperties

void Dispose() (2010 バージョンでの新機能)

void InvalidateWeb() (2010 バージョンでの新機能)

protected override void MarshalData() (2010 バージョンでの新機能)

string FullUrl

string NewServerRelativeUrl

Guid ParentWebId (2010 バージョンでの新機能)

string ServerRelativeUrl

string UserDisplayName

string UserLoginName

SPWeb Web

Guid WebId

SPEventReceiverType EventType (2010 バージョンでは親から継承)

Guid SiteId (2010 バージョンでは親から継承)

SPWebEventReceiver

SPWebEventReceiver()

void SiteDeleted(SPWebEventProperties properties)

void SiteDeleting(SPWebEventProperties properties)

void WebAdding(SPWebEventProperties properties) (2010 バージョンでの新機能)

void WebDeleted(SPWebEventProperties properties)

void WebDeleting(SPWebEventProperties properties)

void WebMoved(SPWebEventProperties properties)

void WebMoving(SPWebEventProperties properties)

void WebProvisioned(SPWebEventProperties properties) (2010 バージョンでの新機能)

該当なし

SPWorkflowEventProperties

(2010 バージョンでの新しい型)

protected override void MarshalData() (2010 バージョンでの新機能)

SPWorkflowActivationProperties ActivationProperties (2010 バージョンでの新機能)

string AssociationData (2010 バージョンでの新機能)

SPWorkflowEventCompletionType CompletionType (2010 バージョンでの新機能)

Exception ErrorException (2010 バージョンでの新機能)

SPEventReceiverType EventType (2010 バージョンでの新機能)

string InitiationData (2010 バージョンでの新機能)

SPWorkflowPostponedEventType PostponedEvent (2010 バージョンでの新機能)

int TerminatedByUserId (2010 バージョンでの新機能)

SPWorkflow Workflow (2010 バージョンでの新機能)

StopEventReceiver

StopEventReceiver()

protected bool Stopped

Strings

該当なし

EventPropertiesCannotBeChanged

EventReceiverAssemblyNameNull

EventReceiverAssemblyNotInGAC

EventReceiverAsyncBeforeInvalid (2010 バージョンでの新機能)

EventReceiverCancelRequest

EventReceiverClassNameNull

EventReceiverTypeInvalid

EventReceiverWorkflowContextInvalid

InvalidEventReceiverHostType

関連項目

概念

SharePoint イベント、イベント レシーバー、およびイベント ホストの表

イベント レシーバー メソッドの比較: Windows SharePoint Services 3.0 および SharePoint Foundation 2010

その他の技術情報

SharePoint Foundation 2010 のイベント