TemplateWizardSecurityAttribute Constructor
Specifies that the template wizard extension will only run when called by the specified template.
Namespace: Microsoft.VisualStudio.TemplateWizard
Assembly: Microsoft.VisualStudio.TemplateWizardInterface (in Microsoft.VisualStudio.TemplateWizardInterface.dll)
Syntax
'Declaration
Public Sub New ( _
callingTemplate As String _
)
public TemplateWizardSecurityAttribute(
string callingTemplate
)
public:
TemplateWizardSecurityAttribute(
String^ callingTemplate
)
new :
callingTemplate:string -> TemplateWizardSecurityAttribute
public function TemplateWizardSecurityAttribute(
callingTemplate : String
)
Parameters
- callingTemplate
Type: System.String
The name of the template allowed to call the template wizard extension. For example, MyTemplate.vstemplate.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.