Attempts to recover from a renaming failure.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Sub RecoverFromRenameFailure ( _
fileThatFailed As String, _
originalFileName As String _
)
'使用
Dim fileThatFailed As String
Dim originalFileName As String
Me.RecoverFromRenameFailure(fileThatFailed, _
originalFileName)
protected virtual void RecoverFromRenameFailure(
string fileThatFailed,
string originalFileName
)
protected:
virtual void RecoverFromRenameFailure(
String^ fileThatFailed,
String^ originalFileName
)
protected function RecoverFromRenameFailure(
fileThatFailed : String,
originalFileName : String
)
Parameters
fileThatFailed
Type: System.StringName of the file that failed.
originalFileName
Type: System.StringOriginal file name.
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.