Jaa


OrganizationServiceContextExtensions.IsValidStateTransition Method (OrganizationServiceContext, EntityReference, String, Int32)

 

Applies To: Dynamics CRM 2015

Checks to see if the state transition is valid. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static bool IsValidStateTransition(
    this OrganizationServiceContext context,
    EntityReference entity,
    string newState,
    int newStatus
)
public:
[ExtensionAttribute]
static bool IsValidStateTransition(
    OrganizationServiceContext^ context,
    EntityReference^ entity,
    String^ newState,
    int newStatus
)
static member IsValidStateTransition : 
        context:OrganizationServiceContext *
        entity:EntityReference *
        newState:string *
        newStatus:int -> bool
<ExtensionAttribute>
Public Shared Function IsValidStateTransition (
    context As OrganizationServiceContext,
    entity As EntityReference,
    newState As String,
    newStatus As Integer
) As Boolean

Parameters

Return Value

Type: System.Boolean

Returns Boolean.

Remarks

This is a method wrapper for the IsValidStateTransitionRequest and IsValidStateTransitionResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright