Sdílet prostřednictvím


ExportBrokeredServiceAttribute Constructors

Definition

Overloads

ExportBrokeredServiceAttribute(String, String)

Initializes a new instance of the ExportBrokeredServiceAttribute class.

ExportBrokeredServiceAttribute(String, String, Type[])

Initializes a new instance of the ExportBrokeredServiceAttribute class.

ExportBrokeredServiceAttribute(String, String)

Initializes a new instance of the ExportBrokeredServiceAttribute class.

public ExportBrokeredServiceAttribute (string name, string? version);
new Microsoft.VisualStudio.Shell.ServiceBroker.ExportBrokeredServiceAttribute : string * string -> Microsoft.VisualStudio.Shell.ServiceBroker.ExportBrokeredServiceAttribute
Public Sub New (name As String, version As String)

Parameters

name
String

The name of the service (same as Name.)

version
String

The version of the proffered service (same as Version). May be null.

Applies to

ExportBrokeredServiceAttribute(String, String, Type[])

Initializes a new instance of the ExportBrokeredServiceAttribute class.

public ExportBrokeredServiceAttribute (string name, string? version, params Type[] optionalInterfaces);
new Microsoft.VisualStudio.Shell.ServiceBroker.ExportBrokeredServiceAttribute : string * string * Type[] -> Microsoft.VisualStudio.Shell.ServiceBroker.ExportBrokeredServiceAttribute
Public Sub New (name As String, version As String, ParamArray optionalInterfaces As Type())

Parameters

name
String

The name of the service (same as Name.)

version
String

The version of the proffered service (same as Version). May be null.

optionalInterfaces
Type[]

An array of optional interfaces that the exported brokered service implements and wishes to advertise as available to the client.

Applies to