Version

MissingResourceWarningAction Enumeration

Represents the various actions possible with the Project.MissingResourceWarning.
Syntax
'Declaration
 
Public Enum MissingResourceWarningAction 
   Inherits System.Enum
public enum MissingResourceWarningAction : System.Enum 
Members
MemberDescription
AddResourceAdd a new ProjectResource to the Project.ResourceItems collection to represent the missing resource.
CancelCancel the change which caused the warning.
RemoveResourceRemove the resource name from the resource names being parsed and continue parsing the other resource names.
ThrowExceptionAllow an exception to be thrown so the error can be seen in the user interface.
UseResourceUse the MissingResourceWarningEventArgs.Resource value to represent the missing resource. The resource specified must exist in the Project.ResourceItems collection. If this value is used but the Resource is not specified, the ThrowException value will be used instead.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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