Condividi tramite


MessageTypeMapping Constructor (ServiceContract, String)

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

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, _
    name As String _
)
public MessageTypeMapping (
    ServiceContract serviceContract,
    string name
)
public:
MessageTypeMapping (
    ServiceContract^ serviceContract, 
    String^ name
)
public MessageTypeMapping (
    ServiceContract serviceContract, 
    String name
)
public function MessageTypeMapping (
    serviceContract : ServiceContract, 
    name : String
)

Parametri

  • serviceContract
    A ServiceContract object that specifies the contract in which the message type is used.

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