Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 _
)
'Usage
Dim servicecontract As ServiceContract
Dim messageName As String
Dim messageSource As MessageSource
Dim instance As New MessageTypeMapping(servicecontract, _
messageName, messageSource)
public MessageTypeMapping(
ServiceContract servicecontract,
string messageName,
MessageSource messageSource
)
public:
MessageTypeMapping(
ServiceContract^ servicecontract,
String^ messageName,
MessageSource messageSource
)
new :
servicecontract:ServiceContract *
messageName:string *
messageSource:MessageSource -> MessageTypeMapping
public function MessageTypeMapping(
servicecontract : ServiceContract,
messageName : String,
messageSource : MessageSource
)
Parameter
- servicecontract
Typ: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
A ServiceContract object that specifies the contract in which the message type is used.
- messageName
Typ: System.String
A String value that specifies the name of the MessageType object.
- messageSource
Typ: Microsoft.SqlServer.Management.Smo.Broker.MessageSource
A MessageSource object value that specifies which dialog sent the message type.
Beispiele
Readme_ServiceBrokerConfiguration
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Broker-Namespace