ConditionalScope constructor (ClientRuntimeContext, Expression<Func<Boolean>>, Boolean)
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
context As ClientRuntimeContext, _
condition As Expression(Of Func(Of Boolean)), _
allowAllActions As Boolean _
)
'Usage
Dim context As ClientRuntimeContext
Dim condition As Expression(Of Func(Of Boolean))
Dim allowAllActions As Boolean
Dim instance As New ConditionalScope(context, _
condition, allowAllActions)
public ConditionalScope(
ClientRuntimeContext context,
Expression<Func<bool>> condition,
bool allowAllActions
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- condition
Type: System.Linq.Expressions.Expression<Func<Boolean>>
- allowAllActions
Type: System.Boolean