ExceptionPropertyCollection Class
Represents a collection of properties associated with an exception.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Common.ExceptionPropertyCollection
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Dichiarazione
Public NotInheritable Class ExceptionPropertyCollection _
Implements IEnumerable(Of KeyValuePair(Of String, Object)), _
IEnumerable
public sealed class ExceptionPropertyCollection : IEnumerable<KeyValuePair<string, Object>>,
IEnumerable
public ref class ExceptionPropertyCollection sealed : IEnumerable<KeyValuePair<String^, Object^>>,
IEnumerable
[<Sealed>]
type ExceptionPropertyCollection =
class
interface IEnumerable<KeyValuePair<string, Object>>
interface IEnumerable
end
public final class ExceptionPropertyCollection implements IEnumerable<KeyValuePair<String, Object>>, IEnumerable
The ExceptionPropertyCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExceptionPropertyCollection | Initializes a new instance of the ExceptionPropertyCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of properties in this collection. |
Top
Methods
Name | Description | |
---|---|---|
Copy(ExceptionPropertyCollection) | Copies the properties from the specified collection to this collection. | |
Copy(ExceptionPropertyCollection, Boolean) | Copies the properties from the specified collection to this collection. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes the property in this collection with the specified name. | |
Set(String, Boolean) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Boolean[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Byte) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Byte[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Char) | Sets the exception property with the specified name to the specified value. | |
Set(String, DateTime) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<DateTime[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Decimal) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Decimal[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Double) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Double[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Guid) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Guid[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Int16) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Int16[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Int32) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Int32[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Int64) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Int64[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, Single) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<Single[]) | Sets the exception property with the specified name to the specified value. | |
Set(String, String) | Sets the exception property with the specified name to the specified value. | |
Set(String, array<String[]) | Sets the exception property with the specified name to the specified value. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<KeyValuePair<String, Object>>.GetEnumerator | Gets an enumerator for this collection. | |
IEnumerable.GetEnumerator | Gets an enumerator for this collection. |
Top
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.