QuickOPC User's Guide and Reference
AssertionMethodAttribute Class
Members 



OpcLabs.BaseLib Assembly > JetBrains.Annotations Namespace : AssertionMethodAttribute Class
Indicates that the marked method is assertion method, i.e. it halts control flow if one of the conditions is satisfied. To set the condition, mark one of the parameters with AssertionConditionAttribute attribute
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Method, 
   AllowMultiple=False, 
   Inherited=True)>
<ComVisibleAttribute(False)>
Public NotInheritable Class AssertionMethodAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As AssertionMethodAttribute
[AttributeUsage(ValidOn=AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
[ComVisible(false)]
public sealed class AssertionMethodAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
[AttributeUsage(ValidOn=AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
[ComVisible(false)]
public ref class AssertionMethodAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute  
Inheritance Hierarchy

System.Object
   System.Attribute
      JetBrains.Annotations.AssertionMethodAttribute

Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

AssertionMethodAttribute Members
JetBrains.Annotations Namespace
AssertionConditionAttribute Class