ConnectionConsumerAttribute.AllowsMultipleConnections Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the connection point allows multiple connections.
public:
property bool AllowsMultipleConnections { bool get(); void set(bool value); };
public bool AllowsMultipleConnections { get; set; }
member this.AllowsMultipleConnections : bool with get, set
Public Property AllowsMultipleConnections As Boolean
Property Value
true
if the connection point accepts multiple connections; otherwise, false
.
Remarks
By default, consumer connections do not accept multiple connections, so this property is set to false
. Provider connections, however, do accept multiple connections by default, and this property on a ConnectionProviderAttribute object is set to true
.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για