OPC Studio User's Guide and Reference
ValueResult Class Members
Properties  Methods  Events


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

The following tables list the members exposed by ValueResult.

Public Constructors
 NameDescription
Public ConstructorOverloaded. Initializes a new instance of the class.  
Top
Public Properties
 NameDescription
Public PropertyDiagnostics information (such as warnings) assembled during the operation. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyCount of diagnostic information elements assembled during the operation. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyTextual summary of diagnostics information, one message per line. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyGets or sets the error ID of the error. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyGets or sets a message that describes the current exception. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyThe first line of the error message. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyGets or sets the information about the reason of the failure of the operation. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyA normalized Diagnostics collection. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyA normalized Exception object, or null if there was no error. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyGets a regularized System.Object value that is a successful result of the operation.  
Public PropertyGets or sets the arbitrary object associated with the operation. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyGets indication whether the operation has succeeded. (Inherited from OpcLabs.BaseLib.OperationModel.OperationResult)
Public PropertyGets a generic System.Object value that is a successful result of the operation.  
Public PropertyReturns the type of the Value, or null if there is no value.  
Top
Protected Properties
 NameDescription
Protected PropertyOverridden. The formatter used with objects of this type. The formatter used with objects of this type.  
Top
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. Determines whether the specified object is equal to the current object.Determines whether the specified System.Object is equal to the current object.  
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. Serves as the default hash function. Serves as a hash function for a particular type.  
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. Returns a string that represents the current object.Returns a string that represents the current object. (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. Infrastructure. Infrastructure.  
Protected MethodInfrastructure.  
Protected MethodOverridden. Infrastructure. Infrastructure. Infrastructure.  
Top
Public Events
 NameDescription
Public EventRaised when the Value property changes a value.  
Top
Public Operators
Determines whether the two objects are equal.
Determines whether the two objects are not equal.
Top
See Also

Reference

ValueResult Class
OpcLabs.BaseLib.OperationModel Namespace