Show / Hide Table of Contents

# Class DiscoveryAgentFactory

##### Inheritance

System.Object
DiscoveryAgentFactory

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Transport.Discovery

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class DiscoveryAgentFactory

### Methods

| Improve this Doc View Source

#### CreateAgent(Uri)

##### Declaration

    public static IDiscoveryAgent CreateAgent(Uri location)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Uri | location |

##### Returns

Type | Description
--- | ---
IDiscoveryAgent |

| Improve this Doc View Source

#### RegisterAgentFactory(String, Type)

##### Declaration

    public void RegisterAgentFactory(string scheme, Type factoryType)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | scheme |
System.Type | factoryType |