Share via


ConditionalScope class

Executes code on the server conditionally.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ConditionalScopeBase
    Microsoft.SharePoint.Client.ConditionalScope

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public NotInheritable Class ConditionalScope _
    Inherits ConditionalScopeBase
'Usage
Dim instance As ConditionalScope
public sealed class ConditionalScope : ConditionalScopeBase

Remarks

If the specified conditions are met, the StartScope() method specifies which action to perform, and the TestResult() property contains the result of testing those conditions.

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.

See also

Reference

ConditionalScope members

Microsoft.SharePoint.Client namespace