Sdílet prostřednictvím


KnowledgeInspector Constructor

Initializes a new instance of the KnowledgeInspector class that contains the specified knowledge version and knowledge object.

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

Syntax

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

Dim instance As New KnowledgeInspector(expectedKnowledgeVersion, knowledge)
public KnowledgeInspector (
    uint expectedKnowledgeVersion,
    SyncKnowledge knowledge
)
public:
KnowledgeInspector (
    unsigned int expectedKnowledgeVersion, 
    SyncKnowledge^ knowledge
)
public KnowledgeInspector (
    UInt32 expectedKnowledgeVersion, 
    SyncKnowledge knowledge
)
public function KnowledgeInspector (
    expectedKnowledgeVersion : uint, 
    knowledge : SyncKnowledge
)

Parameters

  • expectedKnowledgeVersion
    The version of the knowledge object.
  • knowledge
    The knowledge object to inspect.

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

KnowledgeInspector Class
KnowledgeInspector Members
Microsoft.Synchronization Namespace