Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Fired if any error occurs during project retargeting.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function OnRetargetingFailure ( _
projRef As String, _
pHier As IVsHierarchy, _
fromTargetFramework As String, _
toTargetFramework As String _
) As Integer
int OnRetargetingFailure(
string projRef,
IVsHierarchy pHier,
string fromTargetFramework,
string toTargetFramework
)
int OnRetargetingFailure(
[InAttribute] String^ projRef,
[InAttribute] IVsHierarchy^ pHier,
[InAttribute] String^ fromTargetFramework,
[InAttribute] String^ toTargetFramework
)
abstract OnRetargetingFailure :
projRef:string *
pHier:IVsHierarchy *
fromTargetFramework:string *
toTargetFramework:string -> int
function OnRetargetingFailure(
projRef : String,
pHier : IVsHierarchy,
fromTargetFramework : String,
toTargetFramework : String
) : int
Parameters
projRef
Type: String[in] The unique project reference name.
pHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] The project hierarchy in which the error occurred.
fromTargetFramework
Type: String[in] The current target framework of the project.
toTargetFramework
Type: String[in] The new target framework of the project.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.