PermissionSet.IsSynchronized Property


Gets a value indicating whether the collection is guaranteed to be thread safe.

Namespace:   System.Security
Assembly:  mscorlib (in mscorlib.dll)

public virtual bool IsSynchronized { get; }

Property Value

Type: System.Boolean

Always false.

PermissionSet does not automatically handle thread safety, so this property is always false.

This method is required to support ICollection.

The following code example shows the value returned by the IsSynchronized property. This code example is part of a larger example provided for the PermissionSet class.

// Display the value of the IsSynchronized property.
Console.WriteLine("IsSynchronized property = " + ps1.IsSynchronized);

.NET Framework
Available since 1.1
Return to top