Revision c92e02f3 trunk/Pithos.Client.WPF/Services/StatusService.cs
b/trunk/Pithos.Client.WPF/Services/StatusService.cs | ||
---|---|---|
81 | 81 |
}; |
82 | 82 |
service.Description.Behaviors.Add(smb); |
83 | 83 |
|
84 |
|
|
84 |
service.Faulted+=OnError; |
|
85 | 85 |
service.Open(); |
86 | 86 |
return service; |
87 | 87 |
} |
88 | 88 |
|
89 |
private static void OnError(object sender, EventArgs e) |
|
90 |
{ |
|
91 |
|
|
92 |
} |
|
93 |
|
|
89 | 94 |
public static void Stop(ServiceHost statusService) |
90 | 95 |
{ |
91 | 96 |
if (statusService == null) |
Also available in: Unified diff