PlatformDiagnosticsAndUsageDataSettings.CanCollectDiagnostics Methode

Definition

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

level
PlatformDataCollectionLevel

Die gewünschte Datensammlungsebene.

Gibt zurück

Boolean

bool

Gibt true zurück, wenn die angeforderte Datensammlungsebene aktiviert werden kann, andernfalls false.

Gilt für: