MessageTypeMapping 생성자 (ServiceContract, String, MessageSource)
Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name and message source.
네임스페이스: Microsoft.SqlServer.Management.Smo.Broker
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Sub New ( _
servicecontract As ServiceContract, _
messageName As String, _
messageSource As MessageSource _
)
‘사용 방법
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
)
매개 변수
- servicecontract
형식: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceContract
- messageName
형식: System. . :: . .String
A String value that specifies the name of the MessageType object.
- messageSource
형식: Microsoft.SqlServer.Management.Smo.Broker. . :: . .MessageSource
A MessageSource object value that specifies which dialog sent the message type.