TraceSourceAttribute Class
Indicates that a property or parameter will be dependency injected with a TraceSource.
Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Parameter, AllowMultiple:=False, Inherited:=True)> _
Public Class TraceSourceAttribute
Inherits ParameterAttribute
'Usage
Dim instance As TraceSourceAttribute
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public class TraceSourceAttribute : ParameterAttribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Parameter, AllowMultiple=false, Inherited=true)]
public ref class TraceSourceAttribute : public ParameterAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple=false, Inherited=true) */
public class TraceSourceAttribute extends ParameterAttribute
AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)
public class TraceSourceAttribute extends ParameterAttribute
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Practices.ObjectBuilder.ParameterAttribute
Microsoft.Practices.CompositeUI.TraceSourceAttribute
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
Reference
TraceSourceAttribute Members
Microsoft.Practices.CompositeUI Namespace