EtwActivity.IsProviderEnabled(Byte, Int64) 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.
Checks whether a provider matching certain levels and keyword is enabled
public:
bool IsProviderEnabled(System::Byte levels, long keywords);
public:
bool IsProviderEnabled(byte levels, long long keywords);
bool IsProviderEnabled(byte levels, long keywords);
public bool IsProviderEnabled (byte levels, long keywords);
member this.IsProviderEnabled : byte * int64 -> bool
Public Function IsProviderEnabled (levels As Byte, keywords As Long) As Boolean
Parameters
- levels
- Byte
Levels to check
- keywords
- Int64
Keywords to check
Returns
True, if any ETW listener is enabled else false