Класс ServiceContractExtender
Exposes Service Broker contract methods and properties in addition to the methods and properties of the ServiceContract object.
Этот API-интерфейс несовместим с CLS. В качестве CLS-совместимой альтернативы можно использовать .
Иерархия наследования
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectExtender< (Of < ( <'ServiceContract> ) > ) >
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectExtender< (Of < ( <'ServiceContract> ) > ) >
Microsoft.SqlServer.Management.Smo.Broker..::..ServiceContractExtender
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<CLSCompliantAttribute(False)> _
Public Class ServiceContractExtender _
Inherits SmoObjectExtender(Of ServiceContract) _
Implements ISfcValidate
'Применение
Dim instance As ServiceContractExtender
[CLSCompliantAttribute(false)]
public class ServiceContractExtender : SmoObjectExtender<ServiceContract>,
ISfcValidate
[CLSCompliantAttribute(false)]
public ref class ServiceContractExtender : public SmoObjectExtender<ServiceContract^>,
ISfcValidate
[<CLSCompliantAttribute(false)>]
type ServiceContractExtender =
class
inherit SmoObjectExtender<ServiceContract>
interface ISfcValidate
end
public class ServiceContractExtender extends SmoObjectExtender<ServiceContract> implements ISfcValidate
Тип ServiceContractExtender обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
ServiceContractExtender() () () () | Initializes a new instance of the ServiceContractExtender class. |
![]() |
ServiceContractExtender(ServiceContract) | Initializes a new instance of the ServiceContractExtender class and associates it with an instance of the ServiceContract class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
MessageTypeMappings | Gets the collection of MessageTypeMapping which is associated with the contract Service Broker contract belonging to ServiceContractExtender object. |
![]() |
Name | Gets or sets the name of the Service Broker contract associated with the ServiceContractExtender object. |
![]() |
Parent | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetParentSfcPropertySet | Returns an instance of the parent objects property set. (Производный от SmoObjectExtender< (Of < ( <'T> ) > ) >.) |
![]() |
GetPropertySet | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
OnPropertyChanged | Raises the PropertyChanged event when it has any subscriber. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
OnPropertyMetadataChanged | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
parent_PropertyChanged | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
parent_PropertyMetadataChanged | Indicates the parent object in the PropertyMetadata. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
RegisterParentProperty | Registers the property of the parent that has not been included in properties collection. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
RegisterProperty(PropertyInfo) | Registers an additional reflected property. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
RegisterProperty(PropertyInfo, String) | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
ToString | (Производный от Object.) |
![]() |
Validate | Validates the specified method with specified parameters for the Service Contract. |
В начало
События
Имя | Описание | |
---|---|---|
![]() |
PropertyChanged | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
![]() |
PropertyMetadataChanged | Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. (Производный от SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.) |
В начало
Замечания
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.