TypeProvider.RefreshCodeCompileUnit Method (CodeCompileUnit, EventHandler)

 

Updates the CodeCompileUnit reference associated with this instance.

Namespace:   System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public void RefreshCodeCompileUnit(
	CodeCompileUnit codeCompileUnit,
	EventHandler refresher
)

Parameters

codeCompileUnit
Type: System.CodeDom.CodeCompileUnit

The CodeCompileUnit to refresh with.

refresher
Type: System.EventHandler

The EventHandler to delegate this event to.

Exception Condition
ArgumentNullException

codeCompileUnit is a null reference (Nothing in Visual Basic).

ArgumentException

This instance already references the subject CodeCompileUnit.

The TypesChanged is raised when this method is invoked.

.NET Framework
Available since 3.0
Return to top
Show: