CommunicationRelayConfiguration Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CommunicationRelayConfiguration.
public CommunicationRelayConfiguration(DateTimeOffset expiresOn, System.Collections.Generic.IEnumerable<Azure.Communication.NetworkTraversal.CommunicationIceServer> iceServers);
new Azure.Communication.NetworkTraversal.CommunicationRelayConfiguration : DateTimeOffset * seq<Azure.Communication.NetworkTraversal.CommunicationIceServer> -> Azure.Communication.NetworkTraversal.CommunicationRelayConfiguration
Public Sub New (expiresOn As DateTimeOffset, iceServers As IEnumerable(Of CommunicationIceServer))
Parameters
- expiresOn
- DateTimeOffset
The date for which the username and credentials are not longer valid. Will be 48 hours from request time.
- iceServers
- IEnumerable<CommunicationIceServer>
An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.
Exceptions
iceServers
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET