Share via


ConditionalScope Members

Include Protected Members
Include Inherited Members

Executes code on the server conditionally.

The ConditionalScope type exposes the following members.

Constructors

  Name Description
Public method ConditionalScope(ClientRuntimeContext, Expression<Func<Boolean>>) Initializes a new instance of the ConditionalScope class with the specified client runtime context and conditional expression.
Public method ConditionalScope(ClientRuntimeContext, Expression<Func<Boolean>>, Boolean) Initializes a new instance of the ConditionalScope class with the specified client runtime context, the conditional expression, and the flag that indicates whether to allow all actions inside the conditional scope or to allow only queries.

Top

Properties

  Name Description
Public property TestResult Gets the result of the conditional expression that was evaluated on the server.

Top

Methods

  Name Description
Public method StartIfFalse Starts the execution of the ELSE clause of the conditional expression.
Public method StartIfTrue Starts the THEN clause of the conditional expression.
Public method StartScope Starts the execution of the LINQ expression.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IFromJson.CustomFromJson Returns a flag that indicates whether to use custom code to initialize its properties. This member is reserved for internal use and is not intended to be used directly from your code.
Explicit interface implemetationPrivate method IFromJson.FromJson This member is reserved for internal use and is not intended to be used directly from your code.

Top

See Also

Reference

ConditionalScope Class

Microsoft.SharePoint.Client Namespace