GPStatusMessageCollection Class
A collection of GPStatusMessageCollection objects that contains the status messages returned for an operation.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.ReadOnlyCollection<T>
Microsoft.GroupPolicy.GPStatusMessageCollection
Syntax
public sealed class GPStatusMessageCollection : ReadOnlyCollection<GPStatusMessage>
public ref class GPStatusMessageCollection sealed : ReadOnlyCollection<GPStatusMessage^>
[<Sealed>]
type GPStatusMessageCollection =
class
inherit ReadOnlyCollection<GPStatusMessage>
end
Public NotInheritable Class GPStatusMessageCollection
Inherits ReadOnlyCollection(Of GPStatusMessage)
Properties
Name | Description | |
---|---|---|
Count | (Inherited from ReadOnlyCollection<T>.) |
|
Item[Int32] | (Inherited from ReadOnlyCollection<T>.) |
Methods
Name | Description | |
---|---|---|
Contains(T) | (Inherited from ReadOnlyCollection<T>.) |
|
CopyTo(T[], Int32) | (Inherited from ReadOnlyCollection<T>.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetEnumerator() | (Inherited from ReadOnlyCollection<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(T) | (Inherited from ReadOnlyCollection<T>.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Remarks
Many classes in the Microsoft.GroupPolicy namespace have overloaded methods that return status in a GPStatusMessageCollection. These messages represent the status messages returned by the COM objects that are wrapped by a class or that are invoked to complete an operation. You can examine the status messages to determine whether there were warnings emitted by any COM components invoked during the operation.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.GroupPolicy Namespace
Return to top