ConditionalScope construtor (ClientRuntimeContext, Expression<Func<Boolean>>, Boolean)
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight.Runtime (em Microsoft.SharePoint.Client.Silverlight.Runtime.dll); Microsoft.SharePoint.Client.Phone.Runtime (em Microsoft.SharePoint.Client.Phone.Runtime.dll) Microsoft.SharePoint.Client.Runtime (em Microsoft.SharePoint.Client.Runtime.dll)
Sintaxe
'Declaração
Public Sub New ( _
context As ClientRuntimeContext, _
condition As Expression(Of Func(Of Boolean)), _
allowAllActions As Boolean _
)
'Uso
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
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- condition
Tipo: System.Linq.Expressions.Expression<Func<Boolean>>
- allowAllActions
Tipo: System.Boolean