CreateNonPublicInstance Method
See Also 
SourceCode.Workflow.Authoring Namespace > Activity Class : CreateNonPublicInstance Method



name
The serialzation name of object that wants to be created.

Glossary Item Box

Creates the non public instance. This method will be called when IsPublicCreatable has a value of false.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function CreateNonPublicInstance( _
   ByVal name As String _
) As PersistableObject
Visual Basic (Usage)Copy Code
Dim instance As Activity
Dim name As String
Dim value As PersistableObject
 
value = instance.CreateNonPublicInstance(name)
C# 
protected override PersistableObject CreateNonPublicInstance( 
   string name
)
C++/CLI 
protected:
PersistableObject^ CreateNonPublicInstance( 
   String^ name
) override 

Parameters

name
The serialzation name of object that wants to be created.

Return Value

A non public creatable object.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also