Assert Method (Boolean, String)
From Lidgren.Network
| Lidgren Network Library documentation |
| NetException..::..Assert Method (Boolean, String) |
| NetException Class See Also Send Feedback |
Throws an exception, in DEBUG only, if first parameter is false
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
| C# |
|---|
public static void Assert( bool isOk, string message ) |
| Visual Basic |
|---|
Public Shared Sub Assert ( _ isOk As Boolean, _ message As String _ ) |
| Visual C++ |
|---|
public: static void Assert( bool isOk, String^ message ) |
Parameters
- isOk
- Type: System..::..Boolean
[Missing <param name="isOk"/> documentation for "M:Lidgren.Network.NetException.Assert(System.Boolean,System.String)"]
- message
- Type: System..::..String
[Missing <param name="message"/> documentation for "M:Lidgren.Network.NetException.Assert(System.Boolean,System.String)"]