DefaultRTCClassAttribute class

Lync 2013

The DefaultRTCClassAttribute class indicates which derived class to use in place of a standard SIP class. For example, a custom class to handle SIP responses can be designated with this attribute, as long as the new response class inherits from the Response class. To use DefaultRTCClassAttribute, the custom class must inherit from one of the following classes: Request, Response, ClientTransaction, or ServerTransaction.

The DefaultRTCClassAttribute class is derived from the System.Attribute class.


Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent (in ServerAgent.dll)

public class DefaultRTCClassAttribute : Attribute

public class MyServerTransaction: ServerTransaction {

internal string additionalState;

public MyServerTransaction() {

// Constructor logic here
// ...
Console.WriteLine ("MyServerTransaction created.");



Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft