Compartir a través de


MessageTypeMapping Constructor (ServiceContract, String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Broker
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    serviceContract As ServiceContract, _
    name As String _
)
'Uso
Dim serviceContract As ServiceContract 
Dim name As String 

Dim instance As New MessageTypeMapping(serviceContract, _
    name)
public MessageTypeMapping(
    ServiceContract serviceContract,
    string name
)
public:
MessageTypeMapping(
    ServiceContract^ serviceContract, 
    String^ name
)
new : 
        serviceContract:ServiceContract * 
        name:string -> MessageTypeMapping
public function MessageTypeMapping(
    serviceContract : ServiceContract, 
    name : String
)

Parámetros

Ejemplos

Readme_ServiceBrokerConfiguration

Vea también

Referencia

MessageTypeMapping Clase

Sobrecarga de MessageTypeMapping

Espacio de nombres Microsoft.SqlServer.Management.Smo.Broker

Otros recursos

Información general (Service Broker)

Administrar Service Broker

Desarrollo (Service Broker)