SPItemEventReceiver.ItemFileMoved Method (Microsoft.SharePoint)
Occurs after a file is moved.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Overridable Sub ItemFileMoved ( _
    properties As SPItemEventProperties _
)
Visual Basic (Usage)
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties

instance.ItemFileMoved(properties)
C#
public virtual void ItemFileMoved (
    SPItemEventProperties properties
)

Parameters

properties
Remarks

Before and After properties are guaranteed for post events on documents, but Before properties are not available for post events on list items.

See Also

Tags :


Community Content

Thomas Lee
Bug

ItemFileMoved is post event so the operation should not be blocked by code executed in this thread. But Is.

sample:

public override void ItemFileMoved(SPItemEventProperties properties)
{

System.Threading.Thread.Sleep(20000);
base.ItemFileMoved(properties);

}

When you create following event handler you can see that move operation take 20s.

Tags : contentbug

Page view tracker