Share via


RelayEventSubscriberAuthenticationType Property

Gets or sets the relay authentication type for the relay events subscriber.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
Public Property RelayEventSubscriberAuthenticationType As RelayEventSubscriberAuthenticationType
    Get
    Set
'Usage
Dim instance As NetEventRelaySecurity
Dim value As RelayEventSubscriberAuthenticationType

value = instance.RelayEventSubscriberAuthenticationType

instance.RelayEventSubscriberAuthenticationType = value
public RelayEventSubscriberAuthenticationType RelayEventSubscriberAuthenticationType { get; set; }
public:
property RelayEventSubscriberAuthenticationType RelayEventSubscriberAuthenticationType {
    RelayEventSubscriberAuthenticationType get ();
    void set (RelayEventSubscriberAuthenticationType value);
}
member RelayEventSubscriberAuthenticationType : RelayEventSubscriberAuthenticationType with get, set
function get RelayEventSubscriberAuthenticationType () : RelayEventSubscriberAuthenticationType
function set RelayEventSubscriberAuthenticationType (value : RelayEventSubscriberAuthenticationType)

Property Value

Type: Microsoft.ServiceBus. . :: . .RelayEventSubscriberAuthenticationType
Returns a RelayEventSubscriberAuthenticationType that contains the authentication type. The default is RelayAccessToken.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The value is not a valid RelayEventSubscriberAuthenticationType value.

See Also

Reference

NetEventRelaySecurity Class

Microsoft.ServiceBus Namespace