Version

ResourceOperationResult Constructor(Resource,DataErrorInfo,Boolean)

Constructor. Initializes a new instance of ResourceOperationResult.
Syntax
'Declaration
 
Public Function New( _
   ByVal resource As Resource, _
   ByVal errorInfo As DataErrorInfo, _
   ByVal markComplete As Boolean _
)
public ResourceOperationResult( 
   Resource resource,
   DataErrorInfo errorInfo,
   bool markComplete
)

Parameters

resource
Resource associated with the operation.
errorInfo
Error information if there's an error.
markComplete
Whether to mark the operation as complete. Pass false for asynchronous operation whose result is going to be available later.
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