Click or drag to resize

IPubSubManagerServiceRegisterSubscription Method (Type, String, String, PubSubEventType, String, Guid, String, NullableDateTimeOffset, NullableDateTimeOffset)

Register a new subscription for the specified type

Namespace:  SanteDB.Core.PubSub
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
PubSubSubscriptionDefinition RegisterSubscription(
	Type modelType,
	string name,
	string description,
	PubSubEventType events,
	string hdsiFilter,
	Guid channelId,
	string supportAddress = null,
	DateTimeOffset? notBefore = null,
	DateTimeOffset? notAfter = null
)

Parameters

modelType
Type: SystemType

[Missing <param name="modelType"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

description
Type: SystemString

[Missing <param name="description"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

events
Type: SanteDB.Core.PubSubPubSubEventType

[Missing <param name="events"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

hdsiFilter
Type: SystemString

[Missing <param name="hdsiFilter"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

channelId
Type: SystemGuid

[Missing <param name="channelId"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

supportAddress (Optional)
Type: SystemString

[Missing <param name="supportAddress"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

notBefore (Optional)
Type: SystemNullableDateTimeOffset

[Missing <param name="notBefore"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

notAfter (Optional)
Type: SystemNullableDateTimeOffset

[Missing <param name="notAfter"/> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

Return Value

Type: PubSubSubscriptionDefinition

[Missing <returns> documentation for "M:SanteDB.Core.PubSub.IPubSubManagerService.RegisterSubscription(System.Type,System.String,System.String,SanteDB.Core.PubSub.PubSubEventType,System.String,System.Guid,System.String,System.Nullable{System.DateTimeOffset},System.Nullable{System.DateTimeOffset})"]

See Also