ErrorCategoryInfo.TargetType Property

Definition

text description of the type of the target object

public:
 property System::String ^ TargetType { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ TargetType { Platform::String ^ get(); void set(Platform::String ^ value); };
public string TargetType { get; set; }
member this.TargetType : string with get, set
Public Property TargetType As String

Property Value

text description of the type of the target object

Remarks

By default, this is TargetObject.GetType().ToString(),

or the empty string if the target object is null.

The default can be overridden by calling Set with a

non-empty value, for example "Active Directory User".

Applies to