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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。