'UsageDim state As Object Dim exception As Exception Dim instance As New ValueResult(Of T)(state, exception)
public: ValueResult<T>( Object^ state, Exception^ exception )
Parameters
- state
- The state object specified when the operation was invoked.
The value of this parameter can be
null(Nothingin Visual Basic). - exception
- The reason of the failure of the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic).