CSharpTest.Net
Assert(Boolean,String) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.RpcLibrary Assembly > CSharpTest.Net.RpcLibrary Namespace > RpcException Class > Assert Method : Assert(Boolean,String) Method

condition
message

Glossary Item Box

if(condition == false) throws {0}

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub Assert( _
   ByVal condition As Boolean, _
   ByVal message As String _
) 
C# 
public static void Assert( 
   bool condition,
   string message
)

Parameters

condition
message

Exceptions

ExceptionDescription
RpcExceptionException class: RpcException : System.ComponentModel.Win32Exception Unspecified rpc error

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys