SqlClientLogger.LogAssert(Boolean, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs the specified message if value
is false
.
public:
bool LogAssert(bool value, System::String ^ type, System::String ^ method, System::String ^ message);
public bool LogAssert (bool value, string type, string method, string message);
member this.LogAssert : bool * string * string * string -> bool
Public Function LogAssert (value As Boolean, type As String, method As String, message As String) As Boolean
Parameters
- value
- Boolean
false
to log the message; otherwise, true
.
- type
- String
The type to be logged.
- method
- String
The logging method.
- message
- String
The message to be logged.
Returns
true
if the message is not logged; otherwise, false
.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.