### YamlMime:JavaType uid: "com.microsoft.azure.management.servicebus.Queue.DefinitionStages.WithSession" fullName: "com.microsoft.azure.management.servicebus.Queue.DefinitionStages.WithSession" name: "Queue.DefinitionStages.WithSession" nameWithType: "Queue.DefinitionStages.WithSession" summary: "The stage of the queue definition allowing to enable session support." syntax: "public static interface **Queue.DefinitionStages.WithSession**" methods: - uid: "com.microsoft.azure.management.servicebus.Queue.DefinitionStages.WithSession.withSession()" fullName: "com.microsoft.azure.management.servicebus.Queue.DefinitionStages.WithSession.withSession()" name: "withSession()" nameWithType: "Queue.DefinitionStages.WithSession.withSession()" summary: "Specifies that session support should be enabled for the queue." modifiers: - "abstract" syntax: "public abstract Queue.DefinitionStages.WithCreate withSession()" desc: "Specifies that session support should be enabled for the queue." returns: description: "the next stage of queue definition" type: "" type: "interface" desc: "The stage of the queue definition allowing to enable session support." metadata: {} package: "com.microsoft.azure.management.servicebus" artifact: com.microsoft.azure:azure-mgmt-servicebus:1.41.4