PlatformDiagnosticsAndUsageDataSettings.CanCollectDiagnostics Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Gibt einen booleschen Wert zurück, der angibt, ob die angeforderte Datensammlungsebene aktiviert werden kann.
public:
static bool CanCollectDiagnostics(PlatformDataCollectionLevel level);
static bool CanCollectDiagnostics(PlatformDataCollectionLevel const& level);
public static bool CanCollectDiagnostics(PlatformDataCollectionLevel level);
function canCollectDiagnostics(level)
Public Shared Function CanCollectDiagnostics (level As PlatformDataCollectionLevel) As Boolean
Parameter
Die gewünschte Datensammlungsebene.
Gibt zurück
Boolean
bool
Gibt true zurück, wenn die angeforderte Datensammlungsebene aktiviert werden kann, andernfalls false.