Class FileSystemRelatedEventArgs

Contains information about an FileSystem related event. It is possible to start workflow instances and pass in start arguments to those instances by setting properties on this class

Inheritance
System.Object
System.EventArgs
FileSystemRelatedEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.WorkflowFoundation
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
public class FileSystemRelatedEventArgs : EPiServerRelatedEventArgs

Constructors

FileSystemRelatedEventArgs(WorkflowFileSystemEvent, UnifiedVirtualPathEventArgs, Boolean)

Initializes a new instance of the FileSystemRelatedEventArgs class.

Declaration
public FileSystemRelatedEventArgs(WorkflowFileSystemEvent fileSystemEvent, UnifiedVirtualPathEventArgs fileArgs, bool isFile)
Parameters
Type Name Description
WorkflowFileSystemEvent fileSystemEvent

The file system event.

UnifiedVirtualPathEventArgs fileArgs

The UnifiedVirtualPathEventArgs instance containing the event data.

System.Boolean isFile

if set to true the event is related to a file.

Properties

FileSystemEventType

Gets the file system related event type.

Declaration
public WorkflowFileSystemEvent FileSystemEventType { get; }
Property Value
Type Description
WorkflowFileSystemEvent

The event value.

IsFile

States if this event is file related

Declaration
public bool IsFile { get; }
Property Value
Type Description
System.Boolean

UnifiedVirtualPathEventArgs

Gets the file system related event arguments.

Declaration
public UnifiedVirtualPathEventArgs UnifiedVirtualPathEventArgs { get; }
Property Value
Type Description
UnifiedVirtualPathEventArgs

The event value.

Remarks

Action can be cancelled by setting Cancel=true (not all event is possible to cancel)