Condividi tramite


MessageTypeMapping Constructor (ServiceContract, String, MessageSource)

Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name and message source.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    servicecontract As ServiceContract, _
    messageName As String, _
    messageSource As MessageSource _
)
public MessageTypeMapping (
    ServiceContract servicecontract,
    string messageName,
    MessageSource messageSource
)
public:
MessageTypeMapping (
    ServiceContract^ servicecontract, 
    String^ messageName, 
    MessageSource messageSource
)
public MessageTypeMapping (
    ServiceContract servicecontract, 
    String messageName, 
    MessageSource messageSource
)
public function MessageTypeMapping (
    servicecontract : ServiceContract, 
    messageName : String, 
    messageSource : MessageSource
)

Parametri

  • servicecontract
  • messageSource
    A MessageSource object value that specifies which dialog sent the message type.

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Esempio

Readme_ServiceBrokerConfiguration

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

MessageTypeMapping Class
MessageTypeMapping Members
Microsoft.SqlServer.Management.Smo.Broker Namespace

Altre risorse

Introduzione a Service Broker
Managing Service Broker
Service Broker Programming