Microsoft SDK for Java

ClientStoragePermission Class Constructors

The ClientStoragePermission Class contains the following constructors:

ClientStoragePermission()
ClientStoragePermission(long limit)
ClientStoragePermission(long limit, int flags)

ClientStoragePermission()

Creates a new ClientStoragePermission instance. The client storage allowed to classes with this permission has no storage space limits.

Syntax

public ClientStoragePermission();

ClientStoragePermission(long limit)

Creates a new ClientStoragePermission instance.

Syntax

public ClientStoragePermission(long limit);

Parameters

limit The client storage space limit.

Remarks

The client storage allowed to classes with this permission is limited to the specified amount of client storage space.

ClientStoragePermission(long limit, int flags)

Creates a new ClientStoragePermission instance.

Syntax

public ClientStoragePermission(long limit, int flags);

Parameters

limit The client storage space limit.
flags The flags that can affect the type of client storage that classes with this permission have. They can be one or both of the following: FL_CANROAM and FL_GLOBALEXEMPT.

Remarks

The client storage allowed to classes with this permission are limited to the specified amount of client storage space.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.