Freigeben über


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.

Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
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
)

Parameter

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

Hinweise

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

Beispiel

Readme_ServiceBrokerConfiguration

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Einführung in Service Broker
Managing Service Broker
Service Broker Programming