ConditionalScope - Constructeur (ClientRuntimeContext, Expression<Func<Boolean>>, Boolean)
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight.Runtime (dans Microsoft.SharePoint.Client.Silverlight.Runtime.dll); Microsoft.SharePoint.Client.Phone.Runtime (dans Microsoft.SharePoint.Client.Phone.Runtime.dll) Microsoft.SharePoint.Client.Runtime (dans Microsoft.SharePoint.Client.Runtime.dll)
Syntaxe
'Déclaration
Public Sub New ( _
context As ClientRuntimeContext, _
condition As Expression(Of Func(Of Boolean)), _
allowAllActions As Boolean _
)
'Utilisation
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
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- condition
Type : System.Linq.Expressions.Expression<Func<Boolean>>
- allowAllActions
Type : System.Boolean