Dynamicweb 8 Documentation
PipelineStarted Field
Example 

Admin pipeline started notification. Occurs when the pipeline was launched
Syntax
'Declaration
 
Public Const PipelineStarted As String
public const string PipelineStarted
Example
Overriding the admin pipeline started notification in DynamicwebOverriding the admin pipeline started notification in Dynamicweb
namespace Dynamicweb.Examples.CSharp.Notifications.Standard
{
    [Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.Standard.Admin.PipelineStarted)]
    public class PipelineStartedObserver : Dynamicweb.Extensibility.NotificationSubscriber
    {
        public override void OnNotify(string notification, Dynamicweb.Extensibility.NotificationArgs args)
        {
            if (args == null)
                return;

            if (!(args is Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs))
                return;

            Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs item = (Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs)args;

            //TODO: Add code here

        }
    }
}
Namespace Notifications.Standard
    <Extensibility.Subscribe(Global.Dynamicweb.Notifications.Standard.Admin.PipelineStarted)> _
    Public Class PipelineStartedObserver
        Inherits Global.Dynamicweb.Extensibility.NotificationSubscriber

        Public Overrides Sub OnNotify(ByVal notification As String, ByVal args As Global.Dynamicweb.Extensibility.NotificationArgs)
            If args Is Nothing Then
                Return
            End If

            If Not (TypeOf args Is Global.Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs) Then
                Return
            End If

            Dim item As Global.Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs = DirectCast(args, Global.Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs)
            'TODO: Add code here

        End Sub
    End Class
End Namespace
Remarks
The passed NotificationArgs is Dynamicweb.Notifications.Standard.Admin.PipelineStartArgs
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Standard.Admin Class
Standard.Admin Members

Send Feedback