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
)
new : 
        knowledge:SyncKnowledge -> KnowledgeFragmentInspector
public function KnowledgeFragmentInspector(
    knowledge : SyncKnowledge
)

Parameters

Exceptions

Exception 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

Microsoft.Synchronization Namespace