Class ThreatListUpdateQuery
Threat List Update Query.
Inheritance
Inherited Members
Namespace: Gee.External.Browsing.Clients
Assembly: Gee.External.Browsing.dll
Syntax
public sealed class ThreatListUpdateQuery
Constructors
ThreatListUpdateQuery(ThreatListDescriptor)
Create a Threat List Update Query.
Declaration
public ThreatListUpdateQuery(ThreatListDescriptor threatListDescriptor)
Parameters
Type | Name | Description |
---|---|---|
ThreatListDescriptor | threatListDescriptor | A ThreatListDescriptor identifying the ThreatList to retrieve. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
ThreatListUpdateQuery(ThreatListDescriptor, String)
Create a Threat List Update Query.
Declaration
public ThreatListUpdateQuery(ThreatListDescriptor threatListDescriptor, string threatListState)
Parameters
Type | Name | Description |
---|---|---|
ThreatListDescriptor | threatListDescriptor | A ThreatListDescriptor identifying the ThreatList to retrieve. |
System.String | threatListState | The state, formatted as a hexadecimal encoded string, of the ThreatList identified by
|
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
System.FormatException | Thrown if |
ThreatListUpdateQuery(ThreatListDescriptor, String, ThreatListUpdateConstraints)
Create a Threat List Update Query.
Declaration
public ThreatListUpdateQuery(ThreatListDescriptor threatListDescriptor, string threatListState, ThreatListUpdateConstraints updateConstraints)
Parameters
Type | Name | Description |
---|---|---|
ThreatListDescriptor | threatListDescriptor | A ThreatListDescriptor identifying the ThreatList to retrieve. |
System.String | threatListState | The state, formatted as a hexadecimal encoded string, of the ThreatList identified by
|
ThreatListUpdateConstraints | updateConstraints | The ThreatListUpdateConstraints to apply when the ThreatList identified
by |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
System.FormatException | Thrown if |
Properties
ThreatListDescriptor
Get Threat List Descriptor.
Declaration
public ThreatListDescriptor ThreatListDescriptor { get; }
Property Value
Type |
---|
ThreatListDescriptor |
Remarks
Represents the ThreatListDescriptor identifying the ThreatList to retrieve.
ThreatListState
Get Threat List State.
Declaration
public string ThreatListState { get; }
Property Value
Type |
---|
System.String |
Remarks
Represents the state, formatted as a hexadecimal encoded string, of the ThreatList identified by ThreatListDescriptor. A null reference indicates the state of the threat list is unknown and will force the threat list to be retrieved as a Full update.
UpdateConstraints
Get Update Constraints.
Declaration
public ThreatListUpdateConstraints UpdateConstraints { get; }
Property Value
Type |
---|
ThreatListUpdateConstraints |
Remarks
Represents the ThreatListUpdateConstraints to apply when the ThreatList identified by ThreatListDescriptor is retrieved. A null reference indicates no update constraints should be applied.
Methods
Build()
Build a Threat List Update Query.
Declaration
public static ThreatListUpdateQueryBuilder Build()
Returns
Type | Description |
---|---|
ThreatListUpdateQueryBuilder | A ThreatListUpdateQueryBuilder to build the threat list update query with. |
Equals(Object)
Determine if This Object is Equal to Another Object.
Declaration
public override bool Equals(object object)
Parameters
Type | Name | Description |
---|---|---|
System.Object | object | An object to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean true if the object is equal to |
Overrides
GetHashCode()
Get Object's Hash Code.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The object's hash code. |
Overrides
ToString()
Get Object's String Representation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The object's string representation. |