Share via


KnowledgeFragmentInspector Constructor

Initializes a new instance of the KnowledgeFragmentInspector class that contains the specified knowledge object.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

Syntax

'Declaration
Public Sub New ( _
    knowledge As SyncKnowledge _
)
'Usage
Dim knowledge As SyncKnowledge

Dim instance As New KnowledgeFragmentInspector(knowledge)
public KnowledgeFragmentInspector (
    SyncKnowledge knowledge
)
public:
KnowledgeFragmentInspector (
    SyncKnowledge^ knowledge
)
public KnowledgeFragmentInspector (
    SyncKnowledge knowledge
)
public function KnowledgeFragmentInspector (
    knowledge : SyncKnowledge
)

Parameters

  • knowledge
    The knowledge object to inspect.

Exceptions

Exception type Condition

ArgumentNullException

A required parameter is a null reference (Nothing in Visual Basic).

ArgumentException

knowledge is not valid.

Remarks

This method takes a snapshot of the knowledge object. Later updates to the knowledge object are not reflected in the snapshot that is contained in the inspector.

See Also

Reference

KnowledgeFragmentInspector Class
KnowledgeFragmentInspector Members
Microsoft.Synchronization Namespace