Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Function CheckProjectForSecurity ( _
projectSecurityChecker As ProjectSecurityChecker, _
userProjectSecurityChecker As ProjectSecurityChecker _
) As ProjectLoadOption
'使用
Dim projectSecurityChecker As ProjectSecurityChecker
Dim userProjectSecurityChecker As ProjectSecurityChecker
Dim returnValue As ProjectLoadOption
returnValue = Me.CheckProjectForSecurity(projectSecurityChecker, _
userProjectSecurityChecker)
protected virtual ProjectLoadOption CheckProjectForSecurity(
ProjectSecurityChecker projectSecurityChecker,
ProjectSecurityChecker userProjectSecurityChecker
)
protected:
virtual ProjectLoadOption CheckProjectForSecurity(
ProjectSecurityChecker^ projectSecurityChecker,
ProjectSecurityChecker^ userProjectSecurityChecker
)
protected function CheckProjectForSecurity(
projectSecurityChecker : ProjectSecurityChecker,
userProjectSecurityChecker : ProjectSecurityChecker
) : ProjectLoadOption
Parameters
- projectSecurityChecker
Type: Microsoft.VisualStudio.Package.ProjectSecurityChecker
- userProjectSecurityChecker
Type: Microsoft.VisualStudio.Package.ProjectSecurityChecker
Return Value
Type: Microsoft.VisualStudio.Package.ProjectLoadOption
Permissions
- 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.