IPluginExecutionContext.Stage Property
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Gets the stage in the execution pipeline that a synchronous plug-in is registered for.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
ReadOnly Property Stage As Integer
int Stage { get; }
Property Value
Type: Int32.
Valid values are 10 (pre-validation), 20 (pre-operation), 40 (post-operation), and 50 (post-operation, deprecated).
Remarks
A stage identifies when a registered synchronous plug-in is to execute during the processing of a message request. Plug-ins can be further ordered within a stage using the SdkMessageProcessingStep.Rank attribute.
An enumeration named SdkMessageProcessingStepStage that defines the supported range of values for this property is available by including the file SampleCode\CS\HelperCode\OptionSets.cs or SampleCode\VB\HelperCode\OptionSets.vb in your project.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
IPluginExecutionContext Interface
IPluginExecutionContext Members
Microsoft.Xrm.Sdk Namespace
Other Resources
Plug-in Registration Entities
Event Execution Pipeline
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.