OPC Studio User's Guide and Reference
ValueResult Class Methods


OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel Namespace : ValueResult Class

For a list of all members of this type, see ValueResult members.

Public Methods
 NameDescription
Public MethodOverridden.   
Public Methodstatic (Shared in Visual Basic)Infrastructure.  
Public Methodstatic (Shared in Visual Basic)Infrastructure.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Combines two value results using a function that combines their values. The first value result.The second value result.The function that combines the values of the first and second value result into a value of the resulting value result.If the first value result failed, returns failed value result made from the first value result. Otherwise, if the second value result failed, returns failed value result made from the second value result. Otherwise (i.e. when both the first and second value results succeeded), returns a success value result, containing a value returned by the combineValuesFunction for the values of the first and second value results.

The various overloads of this method allow to combine generic and non-generic value results.

 
Public MethodOverloaded. Overridden. Infrastructure.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Returns a failed value result with given exception.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new instance of the value result from a given failed operation result.  
Public MethodOverloaded. Overridden.   
Public MethodOverridden.   
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public MethodCreates a new object that is a memberwise copy of the current instance. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public Methodstatic (Shared in Visual Basic)Overloaded. Performs the specified operation and return the corresponding value result.  
Public Method (Inherited from OpcLabs.BaseLib.Info)
Public MethodTransforms the value of a value result using a specified function.  
Public MethodSets the arbitrary object associated with the operation. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public MethodSets a generic Object value that is a successful result of the operation.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Returns a successful value result with given value.  
Public MethodThrows Exception if it is not a null reference. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public MethodOverloaded. Converts the value of the current object to its equivalent string representation using the specified format. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public Method (Inherited from OpcLabs.BaseLib.Info)
Top
Protected Methods
 NameDescription
Protected MethodInfrastructure.  
Protected MethodInfrastructure.  
Protected MethodAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object)
Protected MethodOverridden. Infrastructure.  
Protected MethodInfrastructure.  
Protected MethodOverridden. Infrastructure.  
Top
Extension Methods
 NameDescription
Public Extension MethodSets the arbitrary object associated with the node.
Top
See Also

Reference

ValueResult Class
OpcLabs.BaseLib.OperationModel Namespace