描述是否要求 NetEventRelayBinding 的订户在发送消息时向 Windows Azure Service Bus 服务提供由 Windows Azure 访问控制服务颁发的安全令牌。
程序集： Microsoft.ServiceBus（在 Microsoft.ServiceBus.dll 中）
Windows Azure Service Bus supports only Full Trust code access security.
The Windows Azure Service Bus bindings use a federated security token authorization scheme to guard access to the Windows Azure Service Bus Relay and to the services listening through it.
This value controls whether clients of a NetEventRelay service are required to present a security token issued by the Windows Azure Access Control service to the Windows Azure Service Bus service when sending messages. Services (listeners) are always required to authenticate with the Windows Azure Access Control service and present an authorization token to the Windows Azure Service Bus. If the service (listener) wants to take over the responsibility of authenticating/authorizing clients, it can opt out of the integration between Windows Azure Access Control and Windows Azure Service Bus by setting this property to RelayEventSubscriberAuthenticationType.None. The default value is RelayEventSubscriberAuthenticationType.RelayAccessToken
is functionally almost identical to RelayClientAuthenticationType. The main difference is that is used with the NetEventRelayBinding. NetEventRelayBinding is used for multicast, and therefore has a slightly different naming terminology. As such, this enumeration is used most often in setting up a NetEventRelayBinding for either a client or host, before creating the connection to the Windows Azure Service Bus. For more information on initializing a relay binding, see Configuring an AppFabric Service Bus Application and Securing and Authenticating an AppFabric Service Bus Connection.