Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SharingBoundaryAttribute Class

.NET Framework (current version)
 

When applied to an import of an ExportFactory<T> object, marks the boundary of a sharing scope.

Namespace:   System.Composition
Assembly:  System.Composition.AttributedModel (in System.Composition.AttributedModel.dll)

System::Object
System::Attribute
System.Composition::SharingBoundaryAttribute

[AttributeUsageAttribute(AttributeTargets::Property | AttributeTargets::Parameter, 
	Inherited = false)]
[MetadataAttributeAttribute]
public ref class SharingBoundaryAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodSharingBoundaryAttribute(array<String^>^)

Initializes a new instance of the SharingBoundaryAttribute class.

NameDescription
System_CAPS_pubpropertySharingBoundaryNames

Gets the boundary names.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft