ServiceContractExtender Class
Exposes Service Broker contract methods and properties in addition to the methods and properties of the ServiceContract object.
This API is not CLS-compliant. The CLS-compliant alternative is .
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<ServiceContract>
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<ServiceContract>
Microsoft.SqlServer.Management.Smo.Broker.ServiceContractExtender
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Class ServiceContractExtender _
Inherits SmoObjectExtender(Of ServiceContract) _
Implements ISfcValidate
'Usage
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
The ServiceContractExtender type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
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 | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetParentSfcPropertySet | Returns an instance of the parent objects property set. (Inherited from SmoObjectExtender<T>.) | |
GetPropertySet | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged | Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
OnPropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
parent_PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
parent_PropertyMetadataChanged | Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterParentProperty | Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterProperty(PropertyInfo) | Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterProperty(PropertyInfo, String) | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
ToString | (Inherited from Object.) | |
Validate | Validates the specified method with specified parameters for the Service Contract. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
PropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) |
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.