Aracılığıyla paylaş


SharedAttribute Constructors

Definition

Overloads

SharedAttribute()

Initializes a new instance of the SharedAttribute class marked as globally shared.

SharedAttribute(String)

Initializes a new instance of the SharedAttribute class with the specified sharing boundary.

SharedAttribute()

Source:
SharedAttribute.cs
Source:
SharedAttribute.cs
Source:
SharedAttribute.cs
Source:
SharedAttribute.cs

Initializes a new instance of the SharedAttribute class marked as globally shared.

public:
 SharedAttribute();
public SharedAttribute ();
Public Sub New ()

Applies to

SharedAttribute(String)

Source:
SharedAttribute.cs
Source:
SharedAttribute.cs
Source:
SharedAttribute.cs
Source:
SharedAttribute.cs

Initializes a new instance of the SharedAttribute class with the specified sharing boundary.

public:
 SharedAttribute(System::String ^ sharingBoundaryName);
public SharedAttribute (string sharingBoundaryName);
new System.Composition.SharedAttribute : string -> System.Composition.SharedAttribute
Public Sub New (sharingBoundaryName As String)

Parameters

sharingBoundaryName
String

The sharing boundary.

Applies to