'DeclarationPublic Function New( _ ByVal state As Object, _ ByVal exception As Exception, _ ByVal diagnostics As ExceptionCollection _ )
'UsageDim state As Object Dim exception As Exception Dim diagnostics As ExceptionCollection Dim instance As New OperationResult(state, exception, diagnostics)
public OperationResult( object state, Exception exception, ExceptionCollection diagnostics )
public: OperationResult( Object^ state, Exception^ exception, ExceptionCollection^ diagnostics )
Parameters
- state
- An arbitrary object associated with the operation. It is the state object specified when the operation was invoked.
The value of this parameter can be
null(Nothingin Visual Basic). - exception
- Information about the reason of the failure of the operation.
The value of this parameter can be
null(Nothingin Visual Basic). - diagnostics
- Diagnostics information (such as warnings) assembled during the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic).The individual elements of the parameter value cannot be
null(Nothingin Visual Basic).