Share via


Grid Property

Gets or sets the grid context for this session.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property Grid As String
    Get
    Set
'Usage
Dim instance As SignalingSession
Dim value As String

value = instance.Grid

instance.Grid = value
public string Grid { get; set; }

Property Value

Type: System..::..String
A string containing the grid.

Exceptions

Exception Condition
ArgumentNullException

Thrown if the value is nullNothingnullptrunita null reference (Nothing in Visual Basic).

ArgumentException

Thrown if the value is empty.

Remarks

If the [Grid] property is set, the endpoint has [GRUU] and the [GRUU] does not have grid, this grid value is added to [GRUU] in the contact header. This is useful to associate this grid with this specific session when the endpoint has [GRUU], but no grid. The association should be done by the application.

See Also

Reference

SignalingSession Class

SignalingSession Members

Microsoft.Rtc.Signaling Namespace