Share via


ContextCondition class

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.Search.Query.Rules.ContextCondition
    Microsoft.Office.Server.Search.Query.Rules.CategoryContextCondition
    Microsoft.Office.Server.Search.Query.Rules.GenericContextCondition
    Microsoft.Office.Server.Search.Query.Rules.SourceContextCondition
    Microsoft.Office.Server.Search.Query.Rules.UserSegmentContextCondition

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<DataContractAttribute(Namespace := "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class ContextCondition
'Usage
Dim instance As ContextCondition
[DataContractAttribute(Namespace = "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class ContextCondition

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

ContextCondition members

Microsoft.Office.Server.Search.Query.Rules namespace