다음을 통해 공유


MessageTypeMapping 생성자 (ServiceContract, String)

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Broker
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    serviceContract As ServiceContract, _
    name As String _
)
‘사용 방법
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
)

매개 변수